E r g e b n i s / R e s u l t
The routine returns true if s is alphanumeric.
This is similar to
OISALNUM, but for a multiple character string
B e s c h r e i b u n g / D e s c r i p t i o n
ALPHNUM returns a TRUE if either
ALPHABET or
NUMERIC is true for s, that is, if the characters of s are within the ranges A – Z, a – z, or 0 – 9.
The routine returns FALSE if s does not satisfy the test condition.
S y n t a x
Code:
value = call ('ALPHNUM' , s) P a r a m e t e r
s - String to test
R e t u r n s
TRUE, if the string only consists of alphanumeric characters, FALSE otherwise
B e i s p i e l / E x a m p l e
Code:
attach 'STRFUNC'
put call ('ALPHNUM' , 'ABC12') ! returns true, as it's an alphanumeric string
put call ('ALPHNUM' , 'ABC1?') ! returns false, as it's not an alphanumeric string
detach 'STRFUNC'