HP 3000 Manuals

UPC$ Function [ HP Business BASIC/XL Reference Manual ] MPE/iX 5.0 Documentation


HP Business BASIC/XL Reference Manual

UPC$ Function 

The uppercase function, UPC$, converts a string with any lowercase
letters to a string that is entirely uppercase.  An optional second
parameter can be used to specify the native language number.

Syntax 

UPC$ (str_expr [, nl_num_expr] )

Parameters 

str_expr         A string variable, a quoted string, the value returned
                 from a string function, or any expression using the
                 appropriate string operators to construct an expression.

nl_num_expr      A numeric expression that evaluates to a Native Language
                 ID. If nl_num_expr is set to -1, the underlying native
                 language number is used as the language specifier.  If a
                 nonnegative value is used, that number is taken directly
                 as the language specifier.  If the native language
                 option is not specified, then the option defaults to
                 zero.

Examples 

     10  A$ = UPC$("Joe")    !A$ = "JOE"



MPE/iX 5.0 Documentation