Key Pages: [ Rope Home Page | Basics (tutorial) | Language Reference | Download ]
"isgraph" pops a single string off the stack and checks whether every character it contains is an ASCII printable character other than a space (characters 0x21 to 0x7E). If so: 1 (true) is pushed back onto the stack, otherwise 0 is pushed back.
As a special case: if the string is empty, the return is 0.
Note: isprint is identical to isgraph, except that the space character is included.
Example:
"Hello boyo" isgraph println # -- prints: 1 isgraph( "Pingu\n" ) println # -- prints: 0 isgraph( " " "DEF" ) println # -- error! too many arguments 239 isgraph println # -- error! not a string
isalnum, isalpha, isascii, iscntrl, isdigit, iseoln, islower, isprint, ispunct, isspace, isupper, isxdigit
Lowth.com: [ Home | Rope | P2PWall | LinWiz | cutter | Protector - Free Antivirus software | TapeIO ]