ReadLine

Use to read a line from a file, previously open with function ‘OpenFileForReading’

Function

String ReadLine(handle: Integer);

Parameters

Name Type Description
handle Integer Handle to the file, value returned by function ‘OpenFileForReading’.

Return Value

A string that contains the text in the line.

Example

var handle = OpenFileForReading("C:\\Data\\ChutesMap.csv");
var line = ReadLine(handle);
// ...
CloseFile(handle);