Einzelnen Beitrag anzeigen
Alt 09.10.2012, 20:50   #55
leecher
Moderator
OISASCII

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 an ASCII character.

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

OISASCII returns a TRUE if c is an ASCII character (in the range 0x00 – 0x7F).
The routine returns FALSE if c does not satisfy the test condition.

S y n t a x

Code:
value = call ('OISASCII' , 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 an ASCII character, FALSE otherwise

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

Code:
attach 'CTYPE'
put call ('OISASCII' , 'A') ! returns true, as it's an ASCII character
put call ('OISASCII' , 'Ç') ! returns false, as it's not an ASCII character
detach 'CTYPE'
leecher ist offline   Mit Zitat antworten