
Purpose
Κ
To return a copy of a string in which all lowercase letters will
be converted to uppercase letters.
Syntax
Κ
A$ = UCASE$(Str$)
Example
Κ
Str$="abcdeFG"
PRINT UCASE$(Str$)
PRINT UCASE$("168BBqRrGgIbB")
Description
Κ
A$
is a string variable to be assigned to the result.
Str$
may be a string variable, string expression, or string
constant.
Purpose
Κ
To convert a numeric expression to a string.
Syntax
Κ
A$ = STR$(N%) or
A$ = STR$(N!)
Example
Κ
Str$=STR$(168)
PRINT Str$
Description
Κ
A$
is a string variable to be assigned to the result.
N%
is a numeric expression.
Purpose
Κ
To return the numeric value of a string expression in interger
form.
Syntax
Κ
A% = VAL(Str$)
Example
Κ
PRINT VAL("16898")
Description
Κ
A%
is an integer variable to be assigned to the result.
Str$
is a string that includes numeric characters.If the first
character is not numeric, this command return 0.
Purpose
Κ
To convert a string expression to a real number.
Syntax
Κ
A! = VALR(Str$)
Example
Κ
PRINT VALR("168.598")
Description
Κ
A!
is real number variable to be assigned to the result.
Str$
is a string that includes numeric characters. The
precision of converted result is governed by the command
SET_PRECISION.
T P C 7 0 3 0
Programming Manual Ver. 1.00
28/131