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 punctuation character.
B e s c h r e i b u n g / D e s c r i p t i o n
OISPUNCT returns a TRUE for any printable character that is not a space character or a character for which OISALNUM is true.
The routine returns FALSE if c does not satisfy the test condition.
S y n t a x
Code:
value = call ('OISPUNCT' , 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 punctuation character, FALSE otherwise.
B e i s p i e l / E x a m p l e
Code:
attach 'CTYPE'
put call ('OISPUNCT' , '.') ! returns true, as it's a punctuation character
put call ('OISPUNCT' , 'A') ! returns false, as it's not a punctuation character
detach 'CTYPE'