User guide
Page 220
Chapter 5. Option
WRIT (Write)
Expansion
condition
(AND · OR)
Input
condition
(I/O · Flag)
Command
Post
(Output port · Flag)
Command Operand 1 Operand 2
Optional Optional WRIT Channel no. Column no.
[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
OPEN 1
READ 1 2
CLOS 1
Set LF (= 10) for the ending character.
Open channel 1.
Write the character string up to LF from channel 1 to column 2.
Close the channel.
LET 1 2
LET 2 3
SCHA 13
READ *1 *2
Assign 2 to variable 1.
Assign 3 to variable 2.
Set CR (= 13) for the ending character.
Write the character string up to LF from channel 2 (content of variable 1) to column 3 (content of
variable 2).