2-539
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
Text String Instructions
2
ToUCase and ToLCase
The following example for the ToUCase instruction is for when In is ‘xyz’. The value of variable abc will
be ‘XYZ’.
• Two-byte letters are not converted.
• An error occurs in the following cases. ENO will be FALSE, and Out will not change.
• In does not end in a NULL character.
• In results in a character code error.
• The conversion result exceeds the size of Out.
Precautions for Correct Use
abc:=ToUCase(‘xyz’);
LD ST
‘xyz’
abc
ToUCase
EN ENO
In