FilePutByte
Previous Top Next

Saves a byte in the specified position.
Byte value can be 0 to 255.
Syntax: FilePutByte (Connection Name, Position, Byte)
To use FileGetByte / FilePutByte you need to first open the file as random.
Example:
FileOpen  (c,"data.dat",cRandom)
FilePutByte (c,0,100)  'Saves the value 100 at the first byte.
FileClose (c)