READ BYTE FROM FILE This command will read a single byte from the specified file.
Syntax
    Return Integer=READ BYTE FROM FILE(Filename, Position)
Parameters
    Filename
String The file name to read from
    Position
Integer The position is specified in bytes from the beginning of the file. You can use this to obtain byte perfect reading of any file
Returns
This value is an integer number such as 1.
Description
The position is specified in bytes from the beginning of the filedata. You can use this to obtain byte perfect reading of any file.
Example Code
    cls

    for t=0 to 20

    read byte from file("c:\rubarb",t)

    print "value = "+str$(a)

    next t

    do

    loop

    end
See also
FILE Commands Menu Index