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 control character.
B e s c h r e i b u n g / D e s c r i p t i o n
OISCNTRL returns a TRUE if c is a control character (0x00 – 0x1F or 0x7F).
The routine returns FALSE if c does not satisfy the test condition.
S y n t a x
Code:
value = call ('OISCNTRL' , 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 control character, FALSE otherwise
B e i s p i e l / E x a m p l e
Code:
attach 'CTYPE'
put call ('OISCNTRL' , chr(13)) ! returns true, as it's a control character
put call ('OISCNTRL' , '?') ! returns false, as it's not a control character
detach 'CTYPE'