Manual
91
12. SEL Language
[Function] Writes the character string from the channel in operand 1 to the column in operand 2.
Stops writing after the character designated in the SCHA command is written.
The column can be either local or global.
[Example] SCHA 10 Set LF (= 10) for the ending character.
OPEN 1 Open channel 1.
WRIT 1 2 Write 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.
WRIT *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
lanoitpOlanoitpOTIRW.oNlennahC.oNnmuloC
● WRIT (Write)
noisnapxE
noitidnoc
)RO·DNA(
tupnI
noitidnoc
)galF·O/I(
dnammoC
tsoP
)galF·troptuptuO(
dnammoC 1dnarepO 2dnarepO
lanoitpOlanoitpOAHCSedocretcarahC.oNnmuloC
● SCHA (Set Ending Letter)
[Function] Sets the ending letter to be used in the READ command and WRIT command. A value from 0 ~ 255
(character code used in BASIC) can be designated for the character.
[Example] Refer to the READ command and WRIT command.