KEYIN
Contents |
Effect
Adds a new line in a MSX-BASIC program while it is running.
Syntax
KEYIN <String>
Parameter
<String> is a string (between quotes) or a string variable that must start with a line number, followed by the content of this new line.
Example
10 COLOR 15,4,7: SCREEN 5 20 CIRCLE(100,100),70,13,,,1.4 30 A$=INPUT$(1) 40 KEYIN "25 PAINT(100,100),8,13" 50 KEYIN "26 A$=INPUT$(1)" 60 KEYIN "27 SCREEN 0: LIST" 70 GOTO 10