Category:QuickBASIC

From Rosetta Code
Revision as of 21:07, 1 March 2011 by Eriksiers (talk | contribs) (→‎QBasic: changed wp link to rc)
QuickBASIC is an implementation of BASIC. Other implementations of BASIC.
QuickBASIC is an example of an Integrated Development Environment, a class of software which typically combines enhanced editing and debugging features.
QuickBASIC is an example of a compiler. You may find the programming tasks that have been solved using it here.

QuickBASIC is a BASIC compiler/interpreter for DOS and OS/2. An IDE has been included with QuickBasic since version 2.0.

The final product in the QuickBASIC line was QuickBASIC Extended 7.1, also called Microsoft BASIC Professional Development System 7.1 or QBX. (According to Wikipedia's QuickBASIC entry, the QBX IDE did not run under OS/2.)

Microsoft eventually replaced QuickBASIC with Visual Basic. (Visual Basic 1 for DOS can compile most (if not all) QB code unchanged.)

It should be noted that while QuickBASIC is not 100% compatible with BASICA and GW-BASIC (the interpreters included with older versions of DOS), most BASICA/GW-BASIC commands work identically. (If a program is marked as working with GW-BASIC, there is a strong chance that it will work in QuickBASIC. The QuickBASIC help file includes a side-by-side comparison of incompatible features of the languages.)

Macintosh

A version of QuickBASIC was released for the Macintosh, but it doesn't run on anything newer than System 7 (and even there has some limitations) and is therefore limited to m68k machines. (For non-Mac users, this is somewhat similar to a Windows program being able to run under Windows 3.x and Win9x, but not WinNT.)

The Mac version was canceled after version 1.00, likely due to lack of sales.

QBasic

QBasic is an interpreter that Microsoft distributed with later versions of MS-DOS, replacing the classic-style interpreter (GW-BASIC) that was included with earlier versions. It is based on QuickBASIC 4.5, with the compiler and parts of the language removed. Any program specifically written for QBasic will work under QuickBASIC 4.5 or later without changes.

(Note that it is not correct to refer to QuickBASIC as QBasic -- Microsoft considers them to be two separate products.)

"Standard"

The QuickBASIC language has become something of a de facto standard, inspiring several later compilers, many of which attempt to be QB-compatible (with varying degrees of success). A few of the modern compilers include: