Einzelnen Beitrag anzeigen
Alt 09.10.2012, 20:46   #54
leecher
Moderator
OISALPHA

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 alphabetic character.

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

OISALPHA returns a TRUE if c is within the ranges A – Z or a – z.
The routine returns FALSE if c does not satisfy the test condition.

S y n t a x

Code:
value = call ('OISALPHA' , 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 alphabetic, FALSE otherwise

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

Code:
attach 'CTYPE'
put call ('OISALPHA' , 'A') ! returns true, as it's alphabetic
put call ('OISALPHA' , '9') ! returns false, as it's not alphabetic
detach 'CTYPE'
Angehängte Dateien
Dateityp: oac CTYPE.OAC‎ (13.5 KB, 2x aufgerufen)
Dateityp: zip ctype.zip‎ (6.5 KB, 2x aufgerufen)
leecher ist offline   Mit Zitat antworten