ReadFileLine Function

Reads a line from a text file.

bool ReadFileLine(Handle hndl, char[] buffer, int maxlength)

Parameters

Handle hndl

Handle to the file.

char[] buffer

String buffer to hold the line.

int maxlength

Maximum size of string buffer.

Return Value

True on success, false otherwise.