IAI America XSEL-KE User Manual
Page 216
![background image](/manuals/350328/216/background.png)
201
Part 4 Commands
z SGET (Get 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
SGET
Variable
number
Column
number,
character literal
CP
[Function] Assign one character from the column specified in operand 2 to the variable specified in
operand 1.
If a character-string literal is specified in operand 2, the first character will be assigned.
[Example] SGET
1
100
Assign one byte from column 100 to variable 1.
LET
1
3
Assign 3 to variable 1.
LET
2
1
Assign 1 to variable 2.
6&3<
µ$¶
&RS\µ$¶WRFROXPQ
6*(7
$VVLJQµ$¶IURPWKHFRQWHQWRIYDULDEOHFROXPQWRWKH
content of variable 1 (variable 3).