20 lines
356 B
Plaintext
20 lines
356 B
Plaintext
100 CLS
|
|
110 PRINT "First line."
|
|
120 GOSUB sub1
|
|
130 PRINT "Fifth line."
|
|
140 GOTO Ending
|
|
150 sub1:
|
|
160 PRINT "Second line."
|
|
170 GOSUB sub2
|
|
180 PRINT "Fourth line."
|
|
190 RETURN
|
|
200 Ending:
|
|
210 PRINT "We're just about done..."
|
|
220 GOTO Finished
|
|
230 sub2:
|
|
240 PRINT "Third line."
|
|
250 RETURN
|
|
260 Finished:
|
|
270 PRINT "... with goto and gosub, thankfully."
|
|
280 END
|