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

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