Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 History  





2 Contents  





3 See also  





4 References  





5 External links  














QBasic






العربية
 / Bân-lâm-gú
Български
Bosanski
Català
Čeština
Deutsch
Español
فارسی
Français

Hrvatski
Italiano
Bahasa Melayu
Nederlands

Norsk bokmål
Polski
Português
Русский
Simple English
Српски / srpski
Suomi
Svenska
Tagalog
Тоҷикӣ
Tiếng Vit

 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 




In other projects  



Wikimedia Commons
Wikibooks
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 

(Redirected from 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

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]

History[edit]

QBasic was intended as a replacement for GW-BASIC. It was based on the earlier QuickBASIC 4.5 compiler but without QuickBASIC's compiler and linker elements. Version 1.0 was shipped together with MS-DOS 5.0 and higher, as well as Windows 95, Windows NT 3.x, and Windows NT 4.0. IBM recompiled QBasic and included it in PC DOS 5.x, as well as OS/2 2.0 onwards.[5] eComStation and ArcaOS, descended from OS/2 code, include QBasic 1.0. QBasic 1.1 is included with MS-DOS 6.x, and, without EDIT, in Windows 95, Windows 98 and Windows Me. Starting with Windows 2000, Microsoft no longer includes QBasic with their operating systems.[6]

Contents[edit]

QBasic (as well as the built-in MS-DOS Editor) is backwards-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 DOS memory size limits. Until MS-DOS 7, MS-DOS Editor and Help required QBasic: the EDIT.COM and HELP.COM programs simply started QBasic in editor and help mode only, and these can also be entered by running QBASIC.EXE with the /EDITOR and /QHELP switches (i.e., command lines QBASIC /EDITOR and QBASIC /QHELP).

QBasic came complete with four pre-written example programs. These were Nibbles, a variant of the Snake game; Gorillas, an artillery game; MONEY MANAGER, a personal finance manager; and RemLine, a Q-BASIC code line-number-removing program.[1]

QBasic has an Easter egg accessed by pressing and holding Left CTRL+Left SHIFT+Left ALT+Right CTRL+Right SHIFT+Right ALT simultaneously after running QBasic at the DOS prompt but before the title screen loads: this lists The Team of programmers.[7]

See also[edit]

References[edit]

  1. ^ a b c "Differences Between GW-BASIC and QBasic". 2003-05-12. Archived from the original on 2008-02-21. Retrieved 2020-09-05.
  • ^ "QBASIC Manual: SUB...END SUB Statement QuickSCREEN". Archived from the original on 2008-10-07. Retrieved 2008-06-28.
  • ^ "QBASIC Manual: TYPE Statement QuickSCREEN". Archived from the original on 2017-03-24. Retrieved 2008-06-28.
  • ^ "QBASIC Manual: Limits - Names, Strings, and Numbers". Archived from the original on 2016-03-04. Retrieved 2008-06-28.
  • ^ "Microsoft BASIC version information". Retrieved 2008-06-12.
  • ^ "QBasic Missing from Windows 2000". 2007-03-01. Retrieved 2008-06-12.
  • ^ "QBasic - Developer Credits". 1999-07-23. Retrieved 2008-06-12.
  • External links[edit]


    Retrieved from "https://en.wikipedia.org/w/index.php?title=QBasic&oldid=1222354112"

    Categories: 
    BASIC interpreters
    Discontinued Microsoft BASICs
    DOS software
    1991 software
    BASIC programming language family
    Microsoft programming languages
    Programming languages created in 1991
    Hidden categories: 
    Articles with short description
    Short description is different from Wikidata
    Articles needing additional references from September 2020
    All articles needing additional references
    All articles with unsourced statements
    Articles with unsourced statements from October 2021
    Articles with J9U identifiers
    Articles with LCCN identifiers
    Articles with NKC identifiers
    Articles with example BASIC code
     



    This page was last edited on 5 May 2024, at 15:01 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki