QB64 is a programming language created in 2007. QB64 (originally QB32) is a self-hosting BASIC compiler for Microsoft Windows, Linux and Mac OS X, designed to be compatible with Microsoft QBasic and QuickBASIC. QB64 is a C++ emitter, which is integrated with a C++ compiler to provide compilation via C++ code and GCC optimization.QB64 implements most QBasic statements, and can run many QBasic programs, including Microsoft's QBasic Gorillas and Nibbles games. Furthermore, QB64 has been designed to contain an IDE resembling the QBASIC IDE. Read more on Wikipedia...
- QB64 ranks in the top 25% of languages
- the QB64 wikipedia page
- QB64 first appeared in 2007
- See also: linux, quickbasic, basic, qbasic
- Have a question about QB64 not answered here? Email me and let me know how I can help.
Example code from Wikipedia:
t1 = _FREETIMER t2 = _FREETIMER ON TIMER(t1, 1) GOSUB Timer.Trap 'the code following the Timer.Trap label will be run every 1 second ON TIMER(t2, .5) mySub 'QB64 can also trigger a SUB procedure with TIMER; ' in this case mySUB will be triggered every 500 milliseconds 'activate timers: TIMER(t1) ON TIMER(t2) ON DO 'go into an infinite loop until the window is closed _LIMIT 1 'run the main loop at 1 cycle per second, to show how timers are independent from main program flow LOOP Timer.Trap: PRINT "1s; "; RETURN SUB mySub PRINT "500ms; "; END SUB
Last updated January 18th, 2020