*UPPER command: Difference between revisions
m (Automatically generated page update) |
(Automatically generated page update) |
||
Line 24: | Line 24: | ||
END | END | ||
</p> | </p> | ||
<p>For a discussion of the PRINT statement, refer to the <var>Model 204 User Language Manual | <p>For a discussion of the PRINT statement, refer to the <var class="book">Model 204 User Language Manual</var></p> | ||
<p class="note"><b>Note:</b> 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. </p> | <p class="note"><b>Note:</b> 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. </p> | ||
[[Category: General user commands]] | [[Category: General user commands]] | ||
[[Category:Commands]] | [[Category:Commands]] |
Revision as of 01:07, 20 April 2013
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 a discussion of the PRINT statement, refer to the Model 204 User Language Manual
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.