DevReadLn
Reads data from the current record of a device until the end of the line, or end of the record. If the device is record-based, the record number is incremented. The carriage return and newline characters are not returned.
Syntax
DevReadLn(hDev)
hDev:
The device handle, returned from the DevOpen() function. The device handle identifies the table where all data on the associated device is stored.
Return Value
The data (in string format). If the end of the device is found, an empty string is returned and the EOF flag is set.
Related Functions
DevOpen, DevRead, DevEOF, DevFind
Example
Str=DevReadLn(hDev);
See Also