System Functions
UCS( ) Return Upper Case String
 
Format UCS(string$[,ERR=stmtref])
 
Where:
 
stmtref Program line number or statement label to which to transfer control.
string$ String expression whose upper case ASCII counterpart is to be returned.
 
Returns Uppercase string equivalent of lower case string.
 
Description The UCS( ) function replaces all lower case ASCII characters in a given string with their corresponding upper case values.
 
See Also LCS( ) Return Lowercase String.
 
Example 0010 INPUT "Enter name: ",NAME$
0020 LET NAME$(2)=LCS(NAME$(2))
0030 LET NAME$(1,1)=UCS(NAME$(1,1))
0040 PRINT "Name is: ",NAME$
-:run
Enter name: rOBERT Name is: Robert


*Note* If an asterisk '*' is passed to the UCS( ) function instead of a string, the function returns the 256-byte Uppercase Conversion Table.