MAINSAIL Language Manual, Section 48.15

previous   next   top   contents   index   framed top   this page unframed


48.15. $treatLikeNul

Figure 48–15. $treatLikeNul
$ALWAYSINLINE COMPILETIME
BOOLEAN
PROCEDURE   $treatLikeNul
                        (
INTEGER char);

The PROCEDURE $treatLikeNul is TRUE of character codes that, like NUL and (on some systems) carriage return, are discarded on input from files where keepNul is not set.

On platforms where eol is linefeed, $treatLikeNul is TRUE of NUL and carriage return; on platforms where eol is carriage return, $treatLikeNul is TRUE only of NUL. See Section 39.1.1 for a more complete discussion of the treatment of carriage returns in text files.


previous   next   top   contents   index   framed top   this page unframed

MAINSAIL Language Manual, Section 48.15