User-defined Text Input for the First and Second Lines
(Vartext1, Vartext2)
§ This requires a computer (PC) with a BASIC interpreter.
The following BASIC program transfers text over the interface of a connected computer
(PC). The BASIC interpreter that comes with the computer executes this program.
CLS
PRINT “ 123456789012345678901234”
LINE INPUT “VARTEXT1 ? “, VarText1$
LINE INPUT “VARTEXT2 ? “, Vartext2$
OPEN “com1: 1200,0,7,1,CD0,DS0” FOR RANDOM AS #1
PRINT
#1,CHR$(27)+”j”+VarText1$+”_”+CHR$(13)+CHR$(10)
PRINT
#1,CHR$(27)+”k”+Vartext2$+”_”+CHR$(13)+CHR$(10)
CLOSE #1
27