Files
crawos/data/fb.bas
deadvey 54d0665456 Modified the BASIC interpreter to support comments using #
and sol whitespace support (eg tabs or spaces for indentation)
2026-02-26 12:26:46 +00:00

12 lines
194 B
QBasic

# A cool fizzbuzz program
PRINT "FizzBuzz!"
FOR A = 1 TO 16
PRINT A ; # Prints the number
B = A % 3
C = A % 5
IF B = 0 then PRINT "Fizz" ;
IF C = 0 then PRINT "Buzz" ;
PRINT ""
NEXT A
END