Jump to content

QBasic: Difference between revisions

From EDM2
mNo edit summary
Ak120 (talk | contribs)
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
A version of [[QuickBasic]] for DOS that is stripped of the compiler and linker but keeps the included IDE and is fully syntax compatible with the 4.5 version of QuickBasic. Version 1 replaced [[GW-Basic]] in [[MS-DOS]] 5 as the free included [[Basic]] interpreter, version 1.1 is supplied with MS-DOS 6 and all versions of [[Windows NT]]. A stripped down version of 1.1 that lacks the editor and a full version of QBasic 1 are both included with all the shipped [[Win 9x]] branch for some reason rather than a full version of 1.1.  
'''QBasic''' is an integrated development environment for the [[BASIC]] language.


IBM recompiled the code for their own version of [[PC-DOS]] 5, their version of QBasic is faster than the Microsoft one and had a couple of bug fixes that are not present in the MS v1 version, this version of QBasic is included with all versions of PC-DOS since v5 and with all versions of eComStation, OS/2 2.0 and higher and OS/2 PPC (Workplace OS).
It basically consists of a version of [[QuickBASIC]] for DOS without the compiler and linker but keeps the included IDE with an integrated online help.


====Text & programmers editors with QBasic support====
== Compatibility ==
Unsupported QuickBASIC keywords:
*ALIAS
*BYVAL
*CDECL
*COMMAND$         
*EVENT
*$INCLUDE
*Int86, Int86X
*Interrupt, InterruptX
*LOCAL
*SADD
*SETMEM
*SIGNAL
*UEVENT
 
[[IBM PC BASIC|BASICA]] programs will not run with QBasic. In order to run a BASICA program with QBasic, a BASICA program has to be saved in [[ASCII]] mode. Some BASICA commands may also require changes. An updated version of BASICA was shipped with IBM DOS Version 5.00. This one is compatible with previous versions of BASICA (from previous DOS versions).
 
;Other software products incompatibilities
* Qualitas BlueMAX Version 5.10 (requires utility from vendor to fix issue)
 
== Versions ==
;Microsoft QBasic
* 1991: Version 1.0 - replaced [[GW-BASIC]] in [[MS-DOS]] 5 as the included BASIC interpreter
* 1992: Version 1.1 - supplied with MS-DOS 6 and all versions of [[Windows NT]]. A stripped down version of 1.1 that lacks the editor and a full version of QBasic 1 are both included with all the shipped [[Windows 95]] branch for some reason rather than a full version of 1.1.
 
;IBM DOS QBasic
* 1991: Version 1.0 - IBM recompiled the code for their [[IBM DOS]] Version 5. This version had a couple of bug fixes that are not present in [[Microsoft]]'s version 1.0. It's included with IBM DOS versions 5.00/5.02 and with OS/2 2.0 and all later releases. QBasic (and also BASICA) was no longer shipped with PC DOS Version 6.1 which became available in November 1993.
 
==Tools==
;Editor support
* [[Boxer]] - QBasic syntax highlighting support built in - Commercial - DOS and OS/2 versions discontinued, Win32 version still sold.
* [[Boxer]] - QBasic syntax highlighting support built in - Commercial - DOS and OS/2 versions discontinued, Win32 version still sold.
==Publications==
* S16G-4559-00: ''DOS 5.02 Technical Reference''
* Michael Halvorson; David Rygmyr: ''Running MS-DOS QBasic'' - Microsoft Press 1991, ISBN 1-55615-340-6
* [[Kris Jamsa]]: ''MS-DOS QBASIC: Microsoft Quick Reference'' - Microsoft Press 1991, ISBN 1-55615-355-4
* Greg Perry: ''QBasic by Example'' - Que 1993, ISBN 1-56529-439-4
* Greg Perry: ''QBASIC Programming 101'' - Sams 1993, ISBN 0-672-30281-0


==Links==
==Links==
*http://www.rubbermallet.org/index.html - A hub of programming info and libraries for programming in QBasic and QuickBasic 4.5
* {{L-IBMAnnUS|ZP91-0432}} (1991-06-11) - IBM DOS Version 5.00 and Upgrade
 
;Code
* [http://www.antonis.de/faq/qbmonfaq-dateien/1047642646.html How to read DBF files with QBasic]


[[Category:DOS Tools]][[Category:Basic]]
[[Category:BASIC development environment]]

Latest revision as of 06:17, 7 August 2023

QBasic is an integrated development environment for the BASIC language.

It basically consists of a version of QuickBASIC for DOS without the compiler and linker but keeps the included IDE with an integrated online help.

Compatibility

Unsupported QuickBASIC keywords:

  • ALIAS
  • BYVAL
  • CDECL
  • COMMAND$
  • EVENT
  • $INCLUDE
  • Int86, Int86X
  • Interrupt, InterruptX
  • LOCAL
  • SADD
  • SETMEM
  • SIGNAL
  • UEVENT

BASICA programs will not run with QBasic. In order to run a BASICA program with QBasic, a BASICA program has to be saved in ASCII mode. Some BASICA commands may also require changes. An updated version of BASICA was shipped with IBM DOS Version 5.00. This one is compatible with previous versions of BASICA (from previous DOS versions).

Other software products incompatibilities
  • Qualitas BlueMAX Version 5.10 (requires utility from vendor to fix issue)

Versions

Microsoft QBasic
  • 1991: Version 1.0 - replaced GW-BASIC in MS-DOS 5 as the included BASIC interpreter
  • 1992: Version 1.1 - supplied with MS-DOS 6 and all versions of Windows NT. A stripped down version of 1.1 that lacks the editor and a full version of QBasic 1 are both included with all the shipped Windows 95 branch for some reason rather than a full version of 1.1.
IBM DOS QBasic
  • 1991: Version 1.0 - IBM recompiled the code for their IBM DOS Version 5. This version had a couple of bug fixes that are not present in Microsoft's version 1.0. It's included with IBM DOS versions 5.00/5.02 and with OS/2 2.0 and all later releases. QBasic (and also BASICA) was no longer shipped with PC DOS Version 6.1 which became available in November 1993.

Tools

Editor support
  • Boxer - QBasic syntax highlighting support built in - Commercial - DOS and OS/2 versions discontinued, Win32 version still sold.

Publications

  • S16G-4559-00: DOS 5.02 Technical Reference
  • Michael Halvorson; David Rygmyr: Running MS-DOS QBasic - Microsoft Press 1991, ISBN 1-55615-340-6
  • Kris Jamsa: MS-DOS QBASIC: Microsoft Quick Reference - Microsoft Press 1991, ISBN 1-55615-355-4
  • Greg Perry: QBasic by Example - Que 1993, ISBN 1-56529-439-4
  • Greg Perry: QBASIC Programming 101 - Sams 1993, ISBN 0-672-30281-0

Links

  • ZP91-0432 (1991-06-11) - IBM DOS Version 5.00 and Upgrade
Code