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-3/sample-gosub.rkt

10 lines
152 B
Racket

8 years ago
#lang basic-demo-3
8 years ago
10 gosub 41
8 years ago
20 print "second"
8 years ago
30 gosub 100
8 years ago
31 print "fourth"
8 years ago
35 end
40 return
8 years ago
41 print "first" : return
8 years ago
100 print "third"
110 goto 40