Key Pages: [ Rope Home Page | Basics (tutorial) | Language Reference | Download ]
"isprint" pops a single string off the stack and checks whether every character it contains is an ASCII printable character (characters 0x20 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: isgraph is identical to isprint, except that the space character is excluded.
Example:
"Hello" isprint println # -- prints: 1 isprint( "Pingu\n" ) println # -- prints: 0 isprint( " " "DEF" ) println # -- error! too many arguments 239 isprint println # -- error! not a string
isalnum, isalpha, isascii, iscntrl, isdigit, iseoln, isgraph, islower, ispunct, isspace, isupper, isxdigit
Lowth.com: [ Home | Rope | P2PWall | LinWiz | cutter | Protector - Free Antivirus software | TapeIO ]