Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
22
Task/Jump-anywhere/QBasic/jump-anywhere.basic
Normal file
22
Task/Jump-anywhere/QBasic/jump-anywhere.basic
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
PRINT "First line."
|
||||
GOSUB sub1
|
||||
PRINT "Fifth line."
|
||||
GOTO Ending
|
||||
|
||||
sub1:
|
||||
PRINT "Second line."
|
||||
GOSUB sub2
|
||||
PRINT "Fourth line."
|
||||
RETURN
|
||||
|
||||
Ending:
|
||||
PRINT "We're just about done..."
|
||||
GOTO Finished
|
||||
|
||||
sub2:
|
||||
PRINT "Third line."
|
||||
RETURN
|
||||
|
||||
Finished:
|
||||
PRINT "... with goto and gosub, thankfully."
|
||||
END
|
||||
Loading…
Add table
Add a link
Reference in a new issue