Manual
90
[Function] Reads the character string from the channel in operand 1 to the column in operand 2.
Stops reading when the character designated in the SCHA command appears.
The column can be either local or global.
[Example] SCHA 10 Set LF (= 10) for the ending character.
OPEN 1 Open channel 1.
READ 1 2 Read the character string from channel 1 to column 2 until LF appears.
CLOS 1 Close the channel.
LET 1 2 Assign 2 to variable 1.
LET 2 3 Assign 3 to variable 2.
SCHA 13 Set CR (= 13) for the ending character.
READ *1 *2 Read the character string from channel 2 (content of variable 1) to column 3
(content of variable 2) until CR appears.
noisnapxE
noitidnoc
)RO·DNA(
tupnI
noitidnoc
)galF·O/I(
dnammoC
tsoP
)galF·troptuptuO(
dnammoC 1dnarepO 2dnarepO
lanoitpOlanoitpODAER.oNlennahC.oNnmuloC
● READ
12. SEL Language