Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
20
Task/Jump-anywhere/True-BASIC/jump-anywhere.basic
Normal file
20
Task/Jump-anywhere/True-BASIC/jump-anywhere.basic
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
100 ! Jump anywhere
|
||||
110 CLEAR
|
||||
120 PRINT "First line."
|
||||
130 GOSUB 160
|
||||
140 PRINT "Fifth line."
|
||||
150 GOTO 210
|
||||
160 ! sub1:
|
||||
170 PRINT "Second line."
|
||||
180 GOSUB 250
|
||||
190 PRINT "Fourth line."
|
||||
200 RETURN
|
||||
210 ! Ending:
|
||||
220 PRINT "We're just about done..."
|
||||
230 GOTO 270
|
||||
240 ! sub2:
|
||||
250 PRINT "Third line."
|
||||
260 RETURN
|
||||
270 ! Finished:
|
||||
280 PRINT "... with goto and gosub, thankfully."
|
||||
290 END
|
||||
Loading…
Add table
Add a link
Reference in a new issue