-
does anybody know if their is a difference in reading/writing time for binary files if i
1.) use for each Value the exact position in the file
Example
Code:
Put DatNr, 1, ChangeTime
Put DatNr, 5, ChangeRandom
Put DatNr, 9, LfzX
Put DatNr, 13, LfzY
or
2.) just read/write each value after the other, without handing over the exact position?
Example
Code:
Put DatNr, , ChangeTime
Put DatNr,, ChangeRandom
Put DatNr,, LfzX
Put DatNr,, LfzY
Thanks
-
That depends, you could see the issue like using print method on your form, the currentX will automatically move forward, so you don't need to set currentX every time before you plot text, if you on the other hand specify currentX you know where you have them, but you risk overwriting data if it's not fixed.
I'd prefer the alternative without specifying position, and use it only when you need to store or read at other positions.