AsyncReadFrom (open)
Asynchronously read a string from any input device
Syntax
// Core function, no LOADLIB necessary
OBJECT FUNCTION AsyncReadFrom(INTEGER inputid, INTEGER maxnumbytes)Parameters
INTEGER inputidInput device id
INTEGER maxnumbytes(Maximum) number of bytes to read. This function never reads more than 32768 (32kB) in one call
Return value
OBJECTThe data read
Description
This function reads from any input device, eg. a diskfile or a socket