- Order:
- Duration: 3:28
- Published: 07 Dec 2006
- Uploaded: 04 Aug 2011
- Author: jackthevideoguy
Name | QBasic |
---|---|
Logo | |
Year | 1991 - 2000 |
Developer | Microsoft Corporation |
Influenced by | QuickBASIC, GW-BASIC |
Operating system | MS-DOS, Windows 95, Windows 98, Windows Me, PC-DOS, OS/2, eComStation |
License | MS-EULA |
Website | www.microsoft.com |
QBasic is an IDE and interpreter for a variant of the BASIC programming language which is based on QuickBASIC. Code entered into the IDE is compiled to an intermediate form, and this intermediate form is immediately interpreted on demand within the IDE. For its time, QBasic provided a state-of-the-art IDE, including a debugger with features such as on-the-fly expression evaluation and code modification.
Like QuickBASIC, but unlike earlier versions of Microsoft BASIC, QBasic is a structured programming language, supporting constructs such as subroutines and while loops. Line numbers, a concept often associated with BASIC, are supported for compatibility, but are not considered good form, having been replaced by descriptive line labels. QBasic has limited support for user-defined data types (structures), and several primitive types used to contain strings of text or numeric data.
QBasic (as well as the built-in MS-DOS Editor) is backward compatible with DOS releases prior to 5.0 (down to at least DOS 3.20). However, if used on any 8088/8086 computers, or on some 80286 computers, the QBasic program may run very slowly, or perhaps not at all, due to its memory size. Until MS-DOS 7, MS-DOS Editor required QBasic. The "edit.com" program simply starts QBasic in editor mode only, and this mode can also be entered by running QBASIC.EXE with the /EDIT switch (i.e., command line "QBASIC /EDIT").
Category:BASIC interpreters Category:Discontinued Microsoft BASICs Category:Procedural programming languages Category:Structured programming languages Category:DOS software Category:Articles with example BASIC code Category:1991 software
This text is licensed under the Creative Commons CC-BY-SA License. This text was originally published on Wikipedia and was developed by the Wikipedia community.