18 string operation – IAI America XSEL-KX User Manual
Page 217
Advertising
201
Part 4 Commands
1.18 String Operation
SCPY (Copy character string)
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command, declaration
Output
(Output, flag)
Command,
declaration
Operand 1
Operand 2
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.
[Example]
SCPY
1
‘ABC’ Copy ‘ABC’ to column 1.
SLEN
10
Set the copying length to 10 bytes.
SCPY
100
200
Copy 10 bytes from column 200 to column 100
Advertising
This manual is related to the following products: