Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

QBasic

< >

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

#295on PLDB 33Years Old
REPL · Wikipedia · Docs

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 Example Token
Comments ✓
Line Comments ✓
Integers ✓
Floats ✓
Strings ✓ "Hello world" "
Print() Debugging ✓ PRINT
- Build the next great programming language · Add · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements · Part of the World Wide Scroll