Qbasic Online Compiler

In classic QBASIC, SLEEP 1 waits 1 second. Some online compilers interpret this as "wait for a keypress." Use _DELAY in QB64 or a FOR loop dummy timer instead.

Not all online compilers are created equal. Here is my curated list of the best platforms for running QBASIC code today. qbasic online compiler

You might be wondering: Why not just install DOS? Here are five compelling reasons why online compilers have become the standard for retro BASIC programming: In classic QBASIC, SLEEP 1 waits 1 second

Copy and paste this code into any of the compilers above to see if it works: Here is my curated list of the best

CLS
PRINT "Hello, Retro Coder!"
PRINT "-------------------"
INPUT "Enter your name: ", Name$
PRINT "Welcome to the future, "; Name$; "!"
PRINT
PRINT "Let's count to 5:"
FOR i = 1 TO 5
    PRINT i
    SLEEP 1
NEXT i
PRINT "Done! QBASIC lives online."
END
Welcome to Soulful Detroit! Kindly Consider Turning Off Your Ad BlockingX
Soulful Detroit is a free service that relies on revenue from ad display [regrettably] and donations. We notice that you are using an ad-blocking program that prevents us from earning revenue during your visit.
Ads are REMOVED for Members who donate to Soulful Detroit. [You must be logged in for ads to disappear]
DONATE HERE »
And have Ads removed.