Reads a number of characters from a file. The string can contain less characters than requested if the end of file is reached. A maximum of 255 characters can be read in each call.
The file number.
The number of characters to read.
The text from the file (as a string).
FileOpen, FileClose, FileReadLn
WHILE NOT FileEOF(File) DO