User manual
657
mikoPascal PRO for dsPIC30/33 and PIC24
MikroElektronika
isdigit
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
isgraph
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
islower
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
ispunct
Prototype
function ispunct(character : byte) : word
Description Function returns 0xFF if the character is a punctuation (decimal 32-47, 58-63, 91-96, 123-126),
otherwise returns zero.
Example
res := ispunct(‘.’); // returns 0xFF
res := ispunct(‘1’); // returns 0
isspace
Prototype
function isspace(character : byte) : word
Description Function returns 0xFF if the character is a white space (space, tab, CR, HT, VT, NL, FF), otherwise
returns zero.
Example
res := isspace(‘ ‘); // returns 0xFF
res := isspace(‘1’); // returns 0