Einzelnen Beitrag anzeigen
Alt 09.10.2012, 21:13   #61
leecher
Moderator
OISPRINT

E r g e b n i s / R e s u l t

The routine returns true if c is a particular representation of a printable character.

B e s c h r e i b u n g / D e s c r i p t i o n

OISPRINT returns a TRUE if c is a printable character, including the space character (0x20 – 0x7E).
The routine returns FALSE if c does not satisfy the test condition.

S y n t a x

Code:
value = call ('OISPRINT' , c)
P a r a m e t e r

c - Character to test

R e t u r n s

TRUE, if the character is a printable character, FALSE otherwise.

B e i s p i e l / E x a m p l e

Code:
attach 'CTYPE'
put call ('OISPRINT' , ' ') ! returns true, as it's a printable character
put call ('OISPRINT' , 'Ç') ! returns false, as it's not a printable character
detach 'CTYPE'
leecher ist offline   Mit Zitat antworten