The @CONVERT statement is used to convert lowercase characters into uppercase or uppercase characters into lowercase in line ranges.
Operation | Operands | F mode, L mode |
@CONVERT | [ [ { lines | svars } [,...] ] TO = ] { UPPER | LOWER } |
lines | One or more line ranges in which conversion is to be performed. Only |
svars | One or more ranges of string variables in which conversion is to be |
UPPER LOWER | All lowercase characters are converted into uppercase. All uppercase characters are converted into lowercase. |
Either UPPER
or LOWER
must be specified. If neither lines
nor svars
is specified then conversion is performed throughout the entire current work file.
The information about which characters in the character set used in the current work file are lowercase or uppercase characters is obtained from XHCS. All other characters are left unchanged.
If the statement is interrupted with [K2] and the EDT session is continued with /INFORM-PROGRAM
then the processing of the statement is aborted and message EDT5501
is output.