2 Instruction Descriptions
The following example is for when In is 'ABCDEF', L is UINT#4, and P is UINT#2. The value of variable
abc will be 'AF'.
LD
'ABCDEF'
UINT#4
UINT#2
Deleted
In
'ABCDEF'
Precautions for Correct Use
• If L is 0, an error will not occur and all of the characters in In are inserted to Out.
• Multi-byte characters are counted as one character each.
• An error occurs in the following cases. ENO will be FALSE, and Out will not change.
• In results in a character code error.
• In does not have enough characters for the number of characters specified by L from the position
specified by P.
• The value of P is 0.
2-560
ST
DELETE
EN
ENO
abc
In
L
P
Out=abc
'AF'
abc:=DELETE('ABCDEF', UINT#4, UINT#2);
NY-series Instructions Reference Manual (W560)