Anonymous user
Flow-control structures: Difference between revisions
Added BBC BASIC
m (→{{header|REXX}}: remove first and last blank lines from program examples. -- ~~~~) |
(Added BBC BASIC) |
||
Line 165:
6
8</lang>
=={{header|BBC BASIC}}==
{{works with|BBC BASIC for Windows}}
BBC BASIC has '''GOSUB''' and '''GOTO''' but they are deprecated.
<lang bbcbasic> GOSUB subroutine
(loop)
PRINT "Infinite loop"
GOTO loop
END
(subroutine)
PRINT "In subroutine"
WAIT 100
RETURN</lang>
=={{header|C}}==
|