MAINSAIL Language Manual, Section 38.16

previous   next   top   contents   index   framed top   this page unframed


38.16. isAlpha

Figure 38–12. isAlpha
$BUILTIN
BOOLEAN
PROCEDURE   isAlpha     (INTEGER char);

isAlpha returns TRUE if and only if char is the character code for an alphabetic character, i.e., one of the uppercase letters A through Z or one of the lowercase letters a through z.

Example 38–13. Use of isAlpha
isAlpha('b') = TRUE
isAlpha('M') = TRUE
isAlpha('#') = FALSE
isAlpha('9') = FALSE


previous   next   top   contents   index   framed top   this page unframed

MAINSAIL Language Manual, Section 38.16