User guide

Page 223
Chapter 5. Option
[Function] Assigns 1 character from the column in Operand 2 to the variable in Operand 1.
[Example SGET 1 100
Assign 1 byte of column 100 to variable 1.
LET 1 3
LET 2 1
SCPY 1 'A'
SGET *1 *2
Assign 3 to variable 1.
Assign 1 to variable 2.
Copy 'A' to column 1.
Assign 'A' in column 1 (content of variable 2) to variable 3 (content of variable 1).
SGET (Acquire Character String)
SPUT (Set Character)
[Function] Sets the data in Operand 2 to the column in Operand 1.
[Example] SPUT 5 10
Set 10 (LF) to column 5.
LET 1 100
LET 2 50
SPUT *1 *2
Assign 100 to variable 1.
Assign 50 to variable 2.
Set 50 (' 2') which is the content of variable 2 to column 100 (content of variable 1).
Expansion
condition
(AND · OR)
Input
condition
(I/O · Flag)
Command
Post
(Output port · Flag)
Command Operand 1 Operand 2
Optional Optional SPUT Column no. Data
Expansion
condition
(AND · OR)
Input
condition
(I/O · Flag)
Command
Post
(Output port · Flag)
Command Operand 1 Operand 2
Optional Optional SGET Variable no. Column no.