~ Office Supplies ~~ Buy Posters ~~ A-Z Products ~~ Website Advertising


Microsoft BASICA interpreter - Wikipedia

<<Up     Contents

Microsoft BASICA interpreter

Redirected from BASICA programming language

Microsoft BASICA is a simple disk-based BASIC interpreter written by Microsoft for the IBM-PC to be distributed with PC-DOS. The name "BASICA" is short for "Advanced BASIC". The interpreter required the presence of ROM BASIC on the PC's ROM chip. ROM BASIC is a program which was loaded by the BIOS on early PC's when no disk operating system could be found. BASICA was launched as an executable under DOS by the user. Once running, it relied heavily on the ROM BASIC interpreter to parse the program source code. BASICA added some features to the language which the ROM by itself would not be capable of such as filesystem access statements and the ability to save your work at the end of a session. In a technical sense, BASICA is a wrapper for ROM BASIC to allow use of the embedded ROM BASIC interpreter even while an operating system was installed.

The BASICA development environment was very similar to the integrated development environment used by Dartmouth BASIC. The user was given a prompt for entering program instructions. Statements beginning with a line number were inserted into the user's program at the appropriate position so that the statements would execute in numerical order at run-time. Statements which did not contain a line number were interpreted immediately at design-time. Some commands were intended to be used at run-time (such as LET, INPUT, WHILE and FOR) while others were intended to be used at design-time (such as SAVE, LOAD, NEW and RUN) but BASICA did not enforce these restrictions.

Samples

The following is an example of a session with BASICA:

 The IBM Personal Computer Basic Version A2.00 Copyright IBM Corp. 1981, 1982, 1983

 Ready.
 > list

 Ready.
 > 10 print "please type your name"

 Ready.
 > 20 input a$

 Ready.
 > 30 for t = 1 to 10

 Ready.
 > 40 print "hello "; a$;

 Ready.
 > 50 next t

 Ready.
 > 60 print a$; " you have "; str$(len(a$)); " letters in your name!"

 Ready.
 > run 
 please type you name
 john hancock
 hello john hancockjohn hancockjohn hancockjohn hancockjohn hancockjohn
 hancockjohn hancockjohn hancockjohn hancockjohn hancockjohn hancock yo
 u have 12 letters in your name!

 Ready.
 > system 

Successors

A similar BASIC interpreter was Microsoft GW-BASIC that shipped with MS-DOS and didn't rely on the embedded ROM BASIC interpreter. Eventually IBM and other PC clone manufacturers removed ROM BASIC from the BIOS to make room on the small chip for more advanced features such as Plug and Play and Advanced power management[?]. In 1983 GW-BASIC was replaced with an even more advanced product from Microsoft called QuickBASIC. While Microsoft sold QuickBASIC separately from DOS, a subset of the language called QBASIC continued to be included with DOS and later Microsoft Windows.

wikipedia.org dumped 2003-03-17 with terodump




 
 
137 carats gray AGATE gem Polished slab rectangle block Cabbing cab cabochon rough gemstone 27 grams
 137 carats gray AGATE Polished slab rectangle block Cabbing cab cabochon 27 grams 
 
3 carats maroon red Leopardskin Jasper agate gem Polished rectangle block Cabbing Leopard skin rough
 3 carats maroon red Leopardskin Jasper agate Polished rectangle block Cabbing Leopard skin  
 
6 carat pink Rhodonite gem Polished rectangle block Cabbing cab cabochon rough gemstone single stone
 6 carat pink Rhodonite Polished rectangle block Cabbing cab cabochon single  
 
10 carats Light Pink Rose Quartz gem Polished rectangle blocks Cabbing cab cabochon rough gemstones
 10 carats Light Pink Rose Quartz Polished rectangle blocks Cabbing cab cabochon  
 
100 carats pink red RHODOCHROSITE cab raw uncut rough polished slab jewelry gemstone piece 20 grams
 100 carats pink red RHODOCHROSITE cab raw uncut polished slab jewelry piece 20 grams