Measures Concepts
GitHub icon

QBasic

QBasic - Programming language

< >

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

#228on 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 · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Day 605 · feedback@pldb.io · Logout