E r g e b n i s / R e s u l t
The routine returns true if s is numeric.
This is similar to
OISDIGIT, 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
NUMERIC returns a TRUE if s is a string that consists of decimal digits (0 – 9).
The routine returns FALSE if s does not satisfy the test condition.
S y n t a x
Code:
value = call ('NUMERIC' , 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 consists of decimal digits, FALSE otherwise
B e i s p i e l / E x a m p l e
Code:
attach 'STRFUNC'
put call ('NUMERIC' , '12345') ! returns true, as it's numeric
put call ('NUMERIC' , '1234A') ! returns false, as it's not entirely numeric
detach 'STRFUNC'