Код
/**
 * Reads a line from a text file.
 *
 * @param hndl   Handle to the file.
 * @param buffer  String buffer to hold the line.
 * @param maxlength  Maximum size of string buffer.    
 * @return    True on success, false otherwise.
 */
native bool ReadFileLine(Handle hndl, char[] buffer, int maxlength);