QuickBASIC

From Wikipedia, the free encyclopedia

QuickBASIC
Appeared in 1985 - 1988
Designed by Microsoft Corporation
Developer Microsoft Corporation
Latest release 4.5/ 1988
Influenced by GW-BASIC
Influenced FreeBASIC, Visual Basic
OS MS-DOS, Mac OS
License MS-EULA
Website www.microsoft.com

Microsoft QuickBASIC (also QB or incorrectly, "QBasic", which is a different system) is an Integrated Development Environment (or IDE) and Compiler for the BASIC programming language that was developed by Microsoft. QuickBASIC runs mainly on DOS, though there was a short-lived version for Mac OS. It is loosely based on GW-BASIC but adds user-defined types, improved programming structures, better graphics and disk support and a compiler in addition to the interpreter. Microsoft marketed QuickBASIC as the introductory level for their BASIC Professional Development System.

Contents

[edit] History

Microsoft released the first version of QuickBASIC on August 18, 1985 stored on a single 5.25" floppy disk. Since version 2.0 QuickBASIC contained an Integrated Development Environment (IDE). Users could edit directly in its onscreen text editor.

Although still supported optionally in QuickBASIC line numbers were no longer needed. Program jumps also worked with named labels. Later versions also added control structures such as multiline conditional statements and loop blocks.

Microsoft's "PC BASIC Compiler" was included for compiling programs into DOS executables. The editor included an interpreter which allowed the programmer to run the program being edited without leaving the editor, as of version 4.0. The interpreter was used to debug a program before creating an executable file. Unfortunately there were some small, subtle differences between the interpreter and the compiler, so that sometimes a program that ran perfectly well in the interpreter would fail after compilation, or would even not compile at all.

The last version of QuickBASIC was version 4.5 (1988), although development of the Microsoft BASIC Professional Development System (PDS) continued until its last release of version 7.1 in October 1990 (at the same time, the QuickBASIC packaging was silently changed so that the disks use the same compression used for BASIC PDS 7.1.[1]). The Basic PDS 7.x version of the IDE was called QuickBASIC Extended (QBX), and it only ran on DOS, unlike the rest of Basic PDS 7.x, which also ran on OS/2. The successor to QuickBASIC and Basic PDS was Visual Basic for MS-DOS 1.0, shipped in Standard and Professional versions. Later versions of Visual Basic did not include DOS versions, as Microsoft concentrated on Windows applications.

A subset of QuickBASIC 4.5, named QBasic, was included with MS-DOS 5 and later versions, replacing the GW-BASIC included with previous versions of MS-DOS. Compared to QuickBASIC, QBasic is limited to an interpreter only, lacks a few functions, can only handle programs of a limited size, and lacks support for separate program modules. Since it lacks a compiler, it cannot be used to produce executable files, although its program source code can still be compiled by a QuickBASIC 4.5, PDS 7.x or VBDOS 1.0 compiler, if available.

For the Macintosh Operating System QuickBASIC 1.00 was launched in 1988. It was officially supported on Macintoshes running System 6 with more than 1 MB RAM[2]. QuickBASIC could also be run under System 7 as long as 32-bit addressing was disabled (this was not possible on Motorola 68040-based Macintoshes).

[edit] Current uses

QuickBASIC continues to be used in some schools, usually as part of an introduction to programming, though is fast becoming replaced by more popular compilers. It also has an unofficial community of hobby programmers represented by websites such as qbasicnews.

Recently, a set of TCP/IP routines[3] for QuickBASIC 4.x and 7.1 has revitalized some interest in the software. In particular, the vintage computer hobbyist community has been able to write software for old computers that run the DOS operating system that allows them to access other computers such as on a LAN or the internet. This has allowed systems even as old as an 8088 to serve interesting functions, such as acting as a web server among other things.

[edit] Successors

Microsoft's Visual Basic was the successor of QuickBASIC. Other compilers, like PowerBASIC and FreeBASIC, have varying degrees of compatibility.

[edit] Sources

  1. ^ http://support.microsoft.com/kb/65291 Microsoft Knowledge Base article 65291
  2. ^ http://support.microsoft.com/kb/31937 System requirements QuickBASIC for Macintosh
  3. ^ rubbermallet.org - DOS networking resources