&IS-UPPER

Examines an argument and returns 1 if the variable value contains upper case characters only; otherwise, returns 0.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

Syntax:

&IS-UPPER (&variablename)

Aliases:

&is-upper (&variablename)   &Is-Upper (&variablename)
&isupper (&variablename)    &IsUpper (&variablename)
&ISUPPER (&variablename)

Comments:

  • If &variablename is a numeric type, &IS-UPPER returns 0.
  • The original argument remains unchanged.

Examples:

&IS-UPPER ("ABC")         = 1
&IS-UPPER ("abc")         = 0
&IS-UPPER ("abc%")        = 0
&IS-UPPER ("AbCd")        = 0
&IS-UPPER ("123A")        = 0
&IS-UPPER ("")            = 0
&IS-UPPER (123)           = 0