Infobox programming language
developer = Galleon

latest_release_version = 0.81
latest_release_date = release date|2008|09|30
influenced_by = QuickBASIC, QBASIC
operating_system = Microsoft Windows
website = http://www.qb64.net/

QB64 (originally QB32 [cite web|url=http://www.basicprogramming.org/pcopy/issue50/#inthenews|work=PCOPY! Issue #50|title=In The News|date=2007-11-16|accessdate=2008-08-17|author=Stephane Richard|publisher=] ) is a self-hosting BASIC compiler for Microsoft Windows, 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. [cite web|url=http://www.basicprogramming.org/pcopy/issue70/#galleoninterview|work=PCOPY! Issue #70|title=Interview With Galleon|date=2008-05-26|accessdate=2008-07-14|author=E.K.Virtanen|publisher=]

The current version of QB64 as of September 2008 is version 0.8. This version implements most QBASIC statements, and can run many QBASIC programs, including Microsoft's QBASIC Gorillas and Nibbles games.cite web|url=http://www.qb64.net/screenshots/displayimage.php?album=1&pos=0|title=QB64 Screenshots - QB64/QBASIC Gorillas in QB64|date=|accessdate=2008-07-25|author=|publisher=] QB64 also extends the QBASIC programming language to include 64-bit data types, as well as better sound and graphics support.

QB64 was originally compiled with Microsoft PDS Basic 7.1. After version 6.3, the compiler had implemented enough QuickBASIC features to compile itself.


QB64 extended commands begin with an underscore in order to avoid conflicting with any functions that may be defined in a QuickBASIC program. Line numbers are not required, and statements are separated by newlines or by colons (:). As in QuickBASIC, bitwise and logical operations are combined, and true is represented by negative one.

An example Hello, World program is:

PRINT "Hello, World!"

Extensions to QBASIC

QB64 extends the QuickBASIC language in several ways. It adds the new data types including _BIT, _BYTE, and _INTEGER64 as well as unsigned data types. The new data types have suffixes just like the traditional BASIC data types. QB64 also includes an audio library which allows playing most common audio formats including MP3, Ogg Vorbis, and MIDI files as well as libraries allowing users to use higher resolution graphics than the 640x480 offered by QuickBASIC, [cite web|url=http://www.qbasicnews.com/qboho/qckadvr.m111213.shtml|title=QB Advisor: Screen Modes 11, 12, and 13|date=1988|accessdate=2008-07-25|author=|publisher=Microsoft Corporation] use different fonts, and plot images in BMP, PNG, and JPEG format.


QB64 currently uses the SDL library for both graphics and text modes.

ee also

* QuickBASIC


External links

* [http://www.qb64.net/ Project home page]
* [http://www.network54.com/Forum/585676/ QB64 Forum]

Wikimedia Foundation. 2010.

Look at other dictionaries:

  • QuickBASIC — Not to be confused with QBASIC. QuickBASIC The opening screen of QuickBasic Developer(s) Microsoft Corporation Initial release 1985 …   Wikipedia

  • QBasic — Appeared in 1991 2000 Developer Microsoft Corporation Influenced by QuickBASIC, GW BASIC …   Wikipedia

  • QBasic — Entwickler Microsoft Corporation Aktuelle Version 1.1 (1992) Betriebssystem MS DOS Kategorie BASIC Interpreter und Entwicklungsumgebung …   Deutsch Wikipedia

  • BASIC — This article is about the programming language. For the think tank, see British American Security Information Council. For the group of countries, see BASIC countries. For other uses, see Basic (disambiguation). BASIC Screenshot of Atari BASIC,… …   Wikipedia

  • GW-BASIC — Appeared in 1983 Developer Microsoft (for Compaq) Stable release 3.23 (1988) …   Wikipedia

  • XBasic — is a variant of the BASIC programming language that was developed in the late 1980s for the Motorola 88000 CPU and Unix by Max Reason. In the early 1990s it was ported to Windows and Linux, and since 1999 it has been available as open source… …   Wikipedia

  • Microsoft BASIC — Appeared in 1975 (cf. Altair BASIC) Designed by Microsoft Developer Microsoft Stable release cf. Visual Basic .NET (2010) Microsoft BASIC was the foundation product of the Microsoft …   Wikipedia

  • Visual Basic .NET — Paradigm(s) Structured, imperative, object oriented and declarative Appeared in 2001 Designed by Micro …   Wikipedia

  • StarOffice Basic — (also known as StarBasic and OOoBasic) is a dialect of BASIC that is included with the OpenOffice.org and StarOffice office suites. Contents 1 Example 2 See also 3 External links …   Wikipedia

  • Commodore BASIC — Commodore BASIC, also known as PET BASIC, is the dialect of the BASIC programming language used in Commodore International s 8 bit home computer line, stretching from the PET of 1977 to the C128 of 1985. The core was based on 6502 Microsoft BASIC …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”

We are using cookies for the best presentation of our site. Continuing to use this site, you agree with this.