File: gotolabl.bas

package info (click to toggle)
bwbasic 2.20pl2-6
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,204 kB
  • ctags: 1,248
  • sloc: ansic: 21,002; makefile: 116
file content (22 lines) | stat: -rw-r--r-- 253 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Print "Hello"


goto test_label
Print "This should NOT print"


test_label:
gosub test_sub
Print "Goodbye"
End


test_sub:
   Print "This is the subroutine."
   gosub test_subsub
   Return


test_subsub:
   Print "This is the sub-subroutine."
   Return