*UPPER command

From m204wiki
Jump to navigation Jump to search

Summary

Privileges
Any user
Function
Reactivates Model 204's automatic translation of lowercase characters to uppercase characters

Syntax

*UPPER

Usage notes

The *UPPER command reactivates the translation of lowercase characters to uppercase characters. This translation, which is performed automatically by Model 204, causes lowercase input from the terminal to be converted to uppercase before it is processed. This translation can be deactivated with the *LOWER command.

You can enter *UPPER (in uppercase) at a terminal any time that Model 204 is expecting input. Unless *UPPER is preceded by a leading blank or blanks, it is always processed as a command.

For example, the following request invokes the *UPPER command and then displays the string "hello" and the string "HELLO" both in uppercase at the terminal:

BEGIN PRINT '*UPPER' PRINT 'hello' PRINT 'HELLO' END

On the other hand, the following request displays the string "* UPPER" in uppercase at the terminal:

BEGIN PRINT '*UPPER' END

For more details about PRINT, refer to the PRINT and PRINT n statements topic.

Note: The keywords UPCASE and NOCASE can be used with screen input items. If UPCASE is specified, all input is translated to uppercase. If NOCASE is specified, then input is not translated. If neither UPCASE nor NOCASE is specified, the *UPPER/*LOWER setting determines whether or not screen input is translated.