Files
akbasic/tests/language/statements/unnumbered.bas

21 lines
295 B
QBasic
Raw Normal View History

REM A whole program with no line numbers at all, read through RUNSTREAM.
REM Blank lines cost nothing, and every branch is by LABEL.
PRINT "START"
FOR I# = 1 TO 3
PRINT I# * I#
NEXT I#
GOSUB GREET
GOTO FINISH
PRINT "NOT REACHED"
LABEL GREET
PRINT "HELLO"
RETURN
LABEL FINISH
PRINT "END"