Top 1,000 Features Creators Events Podcasts Extensions Blog Explorer CSV Download

QBasic

< >

QBasic, aka Quick Beginners All purpose Symbolic Instruction Code, is an open source programming language created in 1991.

#270on PLDB 33Years Old

Try now: Replit

QBasic (Quick Beginners All purpose Symbolic Instruction Code) is an IDE and interpreter for a variety of the BASIC programming language which is based on QuickBASIC. Code entered into the IDE is compiled to an intermediate representation, and this IR is immediately interpreted on demand within the IDE. It can run under nearly all versions of DOS and 32-bit versions of Windows, or through emulation via DOSBox/DOSEMU on Linux, FreeBSD, and 64-bit versions of Windows. Read more on Wikipedia...


Example from hello-world:
PRINT "Hello World"
QBasic Keywords
ACCESS ALIAS ANY APPEND AS BASE BINARY BYVAL CASE CDECL DOUBLE ELSE ELSEIF ENDIF INTEGER IS LIST LOCAL LONG LOOP MOD NEXT OFF ON OUTPUT RANDOM SIGNAL SINGLE STEP STRING THEN TO UNTIL USING WEND

Language features

Feature Supported Token Example
Comments
Line Comments
Integers
Floats
Strings "
"Hello world"
Print() Debugging PRINT

View source

- Build the next great programming language · About · Resources · Acknowledgements · Part of the World Wide Scroll