User manual
570
mikoPascal PRO for PIC32
MikroElektronika
isalpha
iscntrl
isdigit
isgraph
islower
Prototype
function isalpha(character : byte) : word
Description Function returns 0xFF if the character is alphabetic (A-Z, a-z), otherwise returns zero.
Example
res := isalpha(‘A’); // returns 0xFF
res := isalpha(‘1’); // returns 0
Prototype
function iscntrl(character : byte) : word
Description Function returns 0xFF if the character is a control or delete character(decimal 0-31 and 127), otherwise
returns zero.
Example
res := iscntrl(‘\r’); // returns 0xFF
res := iscntrl(‘o’); // returns 0
Prototype
function isdigit(character : byte) : word
Description Function returns 0xFF if the character is a digit (0-9), otherwise returns zero.
Example
res := isdigit(‘o’); // returns 0xFF
res := isdigit(‘1’); // returns 0
Prototype
function isgraph(character : byte) : word
Description Function returns 0xFF if the character is a printable, excluding the space (decimal 32), otherwise
returns zero.
Example
res := isgraph(‘o’); // returns 0xFF
res := isgraph(‘ ‘); // returns 0
Prototype
function islower(character : byte) : word
Description Function returns 0xFF if the character is a lowercase letter (a-z), otherwise returns zero.
Example
res := islower(‘0’); // returns 0xFF
res := islower(‘A’); // returns 0