Examines an argument and returns 1 if the argument contains valid numeric digits only: 0123456789; otherwise, returns 0.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.
Syntax:
&IS-DIGITS (&variablename)
Aliases:
&is-digits (&variablename) &Is-Digits (&variablename)
&&isdigits (&variablename) &IsDigits (&variablename)
ISDIGITS (&variablename)
Examples:
&IS-DIGITS ("123") = 1
&IS-DIGITS ("+123") = 0
&IS-DIGITS ("-123") = 0
&IS-DIGITS ("123-") = 0
&IS-DIGITS ("123.") = 0
&IS-DIGITS (123) = 1
&IS-DIGITS (-123) = 0
&IS-DIGITS ("123A") = 0
&IS-DIGITS ("") = 0
Comments: