Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
19
Task/Jump-anywhere/Chipmunk-Basic/jump-anywhere.basic
Normal file
19
Task/Jump-anywhere/Chipmunk-Basic/jump-anywhere.basic
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue