1 print "start of test" 10 gosub 100 20 for i = 1 to 10 30 print i 40 next i 50 print "end" 60 end 100 print "subroutine" 110 return