*LOWER command

From m204wiki
Revision as of 01:05, 28 February 2013 by Alex (talk | contribs) (Automatically generated page update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Summary

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

Format

*LOWER

Example

PRINT '*LOWER'

Usage notes

The *LOWER command deactivates the translation of lowercase 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. If the user enters *LOWER (in uppercase) at a terminal, lowercase characters are preserved.

Model 204 allows *LOWER to be entered anytime Model 204 is expecting input. Unless *LOWER is preceded by a leading blank or blanks, it is always processed as a command. For example:

BEGIN PRINT '*LOWER' PRINT 'hello' PRINT 'HELLO' END

This request invokes the *LOWER command, and then prints the strings, 'hello', in lowercase, and 'HELLO', in uppercase, at the terminal. On the other hand:

BEGIN PRINT '*LOWER' END

This request prints the string '*LOWER' in uppercase at the terminal. Refer to the Model 204 User Language Manual for a description of the PRINT statement.

Note: Two 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 *LOWER/*UPPER setting determines whether or not screen input is translated.