|Did you know ...||Search Documentation:|
<ctype.h>primitives. Note that the mode (-,+) is only efficient if the Type has a parameter, e.g.,
char_type(C, digit(8)). With an atomic Type the whole unicode range (0..0x1ffff) is generated and tested against the C character classification function.
_). These are valid C and Prolog symbol characters.
_). These are valid first characters for C and Prolog symbols.
char_type(X, digit(6))yields X =
'6'. Useful for parsing numbers.
char_type(a, xdigit(X))yields X =
'10'. Useful for parsing numbers.
graphcharacter that is not a letter or digit.