readByte()
Return a byte from the file.
Syntax:
readByte(
stream
)
stream is a file previously opened by the open command.
Example:
open "myfile.txt" for input as 1
while eof(1)=0
a=
readbyte( 1 )
prints(str$(a)+" "+chr$(a))
end while
close 1
waitKey
See also writeByte() command.