<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > FileLine |
Description
FileLine module provides support for reading lines coming from sequential text files of different operating systems: Windows, Unix, Mac
As you may know, every of the above mention OSs produce text files with different end of line delimiter: Windows uses $CRLF pairs, Unix uses $LF, Mac uses $CR.
More information about end of line delimiter can be found at: http://en.wikipedia.org/wiki/Newline
FileLine module implements few new keywords that will let programmer to easily parse text files sequentially reading lines regardless what end of line delimiter is found inside them.
How to use this module
Inside your script, before calling any module specific keyword, add the following:
USES "FILELINE"
Restrictions
Important notes about FileLine module
1.impossible to distinguish multiple consecutive end of line delimiters.
|