2 Instruction Descriptions
The following example for the ToUCase instruction is for when In is 'xyz'. The value of variable abc will
be 'XYZ'.
LD
EN
'xyz'
In
The ToUCase instruction converts all single-byte letters in In to uppercase.
Converted to uppercase.
In
'xyz'
Precautions for Correct Use
• Two-byte letters are not converted.
• An error occurs in the following cases. ENO will be FALSE, and Out will not change.
• In results in a character code error.
2-568
ToUCase
ENO
abc
Out=abc
ST
abc:=ToUCase('xyz');
'XYZ'
NY-series Instructions Reference Manual (W560)