You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
beautiful-racket/beautiful-racket-demo/basic-demo-nth/gosub.bas

9 lines
125 B
QBasic

8 years ago
#lang basic-demo-nth
9 years ago
10 GOSUB 50
15 PRINT "2 of 3"
9 years ago
17 GOSUB 30
20 END
30 PRINT "3 of 3"
9 years ago
40 RETURN
50 PRINT "1 of 3"
9 years ago
55 RETURN