Char
Module with operation on CHAR type.
Const
NUL* = CHR(00H);
TAB* = CHR(09H);
LF* = CHR(0AH);
CR* = CHR(0DH);
SPC* = CHR(020H);
Procedures
IsControl
PROCEDURE IsControl* (ch: CHAR) : BOOLEAN ;
IsDigit
Returns true of ch is a digit
PROCEDURE IsDigit* (ch: CHAR) : BOOLEAN ;
IsLetter
Returns true of ch is a letter
PROCEDURE IsLetter* (ch: CHAR) : BOOLEAN ;
IsSpace
Returns true of ch is a white space character
PROCEDURE IsSpace* (ch: CHAR) : BOOLEAN ;
IsLower
Returns true of ch is a lower case letter
PROCEDURE IsLower* (ch: CHAR) : BOOLEAN ;
IsUpper
Returns true of ch is a upper case letter
PROCEDURE IsUpper* (ch: CHAR) : BOOLEAN ;
Lower
Returns lower case letter or unmodified char
PROCEDURE Lower* (ch: CHAR) : CHAR ;
Upper
Returns upper case letter or unmodified char
PROCEDURE Upper* (ch: CHAR) : CHAR ;