11 - 127 11 - 127
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
Program Example
10 ' Enters the character string until the Enter key is pressed
20 LINE INPUT "Address: ";A$
30 LINE INPUT "Name: ";B$ : ' Enters the character string
40 PRINT
50 PRINT A$;" : ";B$
:
' Displays entered character string
60 END
RUN
Address : NAGOYA
Name : MITUBISHI
NAGOYA : MITUBISHI
OK
REMARK
See the CLOSE and INPUT instructions, and INPUT$ function.