ReadFromFile (open)
Read from a file on disk, moving the file pointer while reading
Syntax
LOADLIB "wh::files.whlib";
STRING FUNCTION ReadFromFile(INTEGER filehandle, INTEGER64 numbytes)Parameters
INTEGER filehandleID of file, as returned by OpenBlobAsFile, OpenDiskFile or CreateDiskFile
INTEGER64 numbytesNumber of bytes to read
Return value
STRINGData read from the file