
283
Part 4 Commands
SCHA (Set end character)
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 SCHA
Character
code
Prohibited CP
[Function] Set the end character to be used by a READ or WRIT command.
Any character from 0 to 255 (character code used in BASIC, etc.) can be specified.
[Example] Refer to the sections on READ and WRIT commands.
284
Part 4 Commands
1.19 String Operation
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.
[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.
287
Summary of Contents for X-SEL PX
Page 1: ...Operation ManualSeventh Edition X SEL Controller PX QX Type Tenth Edition ...
Page 2: ......
Page 8: ......
Page 14: ......
Page 410: ...383 Appendix 386 ...
Page 452: ...425 Appendix 5 428 ...
Page 559: ......