Programming Reference Manual
 
Syntax
 
FGet(handle%, recsize%)
 
Description
Returns a string value of recsize% bytes, read out from the file, opened with FOpen under handle%.
 
Parameter
Description
handle$
A handle to the file, previously opened with the FOpen instruction.
recsize%
The number of bytes to be read.
See Also
Example
 
Sub Main
Dim Hnd%
Hnd% = FOpen(“C:\MYDBASE.DAT”, 0, 4)
'read-only, shared
FSeek Hnd%, 0
While Not FEof(Hnd%)
Print FGet(Hnd%, 1) 'read one single byte
Wend
FClose Hnd%
End Sub