FileGetByte
Previous Top Next

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