Einzelnen Beitrag anzeigen
Alt 09.10.2012, 21:04   #58
leecher
Moderator
OISDIGIT

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 decimal-digit character.

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

OISDIGIT returns a TRUE if c is a decimal digit (0 – 9).
The routine returns FALSE if c does not satisfy the test condition.

S y n t a x

Code:
value = call ('OISDIGIT' , 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 decimal digit, FALSE otherwise

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

Code:
attach 'CTYPE'
put call ('OISDIGIT' , '9') ! returns true, as it's a digit
put call ('OISDIGIT' , '?') ! returns false, as it's not a digit
detach 'CTYPE'
leecher ist offline   Mit Zitat antworten