This article needs additional citations for verification. (September 2020) |
Paradigm | Procedural |
---|---|
Developer | Microsoft |
First appeared | 1991 |
Typing discipline | Static, strong |
OS | MS-DOS, Windows 95, Windows 98, Windows Me, PC DOS, OS/2, eComStation, ArcaOS |
License | Proprietary |
Influenced by | |
QuickBASIC, GW-BASIC | |
Influenced | |
FreeBASIC, QB64, SmallBasic |
QBasic is an integrated development environment (IDE) and interpreter for a variety of dialects of BASIC which are based on QuickBASIC. Code entered into the IDE is compiled to an intermediate representation (IR), and this IR is immediately executed on demand within the IDE.[1]
Like QuickBASIC, but unlike earlier versions of Microsoft BASIC, QBasic is a structured programming language, supporting constructs such as subroutines.[2] 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.[1] QBasic has limited support for user-defined data types (structures), and several primitive types used to contain strings of text or numeric data.[3][4] It supports various inbuilt functions.
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.[citation needed]
GBvsQB
was invoked but never defined (see the help page).subroutines
was invoked but never defined (see the help page).types
was invoked but never defined (see the help page).limits
was invoked but never defined (see the help page).