QBasic

QBasic
ParadigmProcedural
DeveloperMicrosoft
First appeared1991; 33 years ago (1991)
Typing disciplineStatic, strong
OSMS-DOS, Windows 95, Windows 98, Windows Me, PC DOS, OS/2, eComStation, ArcaOS
LicenseProprietary
Influenced by
QuickBASIC, GW-BASIC
Influenced
FreeBASIC, QB64, SmallBasic
Preview warning: Page using Template:Infobox programming language with unknown parameter "current version"
Preview warning: Page using Template:Infobox programming language with unknown parameter "status"

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]

  1. ^ a b Cite error: The named reference GBvsQB was invoked but never defined (see the help page).
  2. ^ Cite error: The named reference subroutines was invoked but never defined (see the help page).
  3. ^ Cite error: The named reference types was invoked but never defined (see the help page).
  4. ^ Cite error: The named reference limits was invoked but never defined (see the help page).