19 string operation – IAI America XSEL-KE User Manual

Page 214

background image

199

Part 4 Commands

1.19 String

Operation

z SCPY (Copy character string)

Command, declaration

Extension condition

(LD, A, O, AB, OB)

Input condition

(I/O, flag)

Command,
declaration

Operand 1

Operand 2

Output

(Output, flag)

Optional Optional

SCPY

Column

number

Column

number,

character literal

CC

[Function] Copy the character string in the column specified in operand 2 to the column specified in

operand 1.
Copy will be performed for the length set by a SLEN command.
If a character literal is specified in operand 2, copy will be performed for the entire length of
the literal.

>([DPSOH@

6&3<

µ$%&¶ &RS\µ$%&¶WRFROXPQ

SLEN

10

Set the copying length to 10 bytes.

SCPY

100

200

Copy 10 bytes from column 200 to column 100.

This manual is related to the following products: