North Star BASIC

Short description: BASIC interpreter for the Horizon microcomputer

North Star BASICParadigm| imperative

|

Designed by| Charles A. Grant,
Mark Greenberg
Developer| North Star Computers
Influenced
BaZic, Megabasic, S.A.I.L.B.O.A.T.

North Star BASIC was a dialect of the BASIC programming language for the Intel 8080 microprocessor used on the North Star Horizon and available for purchase on other S-100 bus machines of the late 1970s.[1]

## Contents

* 1 Overview
* 2 References
* 2.1 Citations
* 2.2 Bibliography
* 3 External links

## Overview

The BASIC interpreter was implemented by Dr. Charles A. Grant and Dr. Mark Greenberg, of North Star Computers, Inc.

One notable difference with other dialects of BASIC of the time was the way in which substrings were addressed using an array-like syntax, a concept sometimes referred to as "slicing". For example, `A$(13,17)` in North Star BASIC corresponded to `MID$(A$,13,5)` in Microsoft BASIC-derived dialects.[2] This slicing technique is analogous to the one used in Fortran, and was introduced to BASIC with HP Time-Shared BASIC and later used on Atari BASIC and Sinclair BASIC, among others. Strings could be of any length, limited only by available memory, but had to be "`DIM`ensioned" before use.[3]

While the language was very similar to other BASICs overall, one interesting addition was the addition of an `EXIT` keyword to pop out of a `FOR` loop.[4] Different dialects of BASIC handled this in different ways, the equivalent in Integer BASIC and Atari BASIC was `POP`. `FILL` could be used to fill a block of memory with a given value.[5]

Most other differences were minor. `GOTO` was supported, but the alternate form `GO TO` was not. Computed-gotos, `ON X GOTO...` did not support `GOSUB`. `INPUT` allowed a prompt; `INPUT "TYPE IN YOUR AGE",A`. `INPUT1` worked identically to `INPUT`, but suppressed the following question-mark.[4] `NEW` became `SCR`atch, `PEEK` became `EXAM`, and `INSTR` became `MATCH`.[6] The language used the backslash (\\) instead of a colon (:) to delimit statements on a single line.

The language also added a number of direct-mode commands like `BYE` to exit BASIC and return to DOS, `REN` to renumber the lines in the program, and `NULL` which defined how many nulls to print after pressing return, to use as fill characters.[7]

Version 5 was assembled for 8-digit floating-point precision. North Star would re-assemble the interpreter for customers with a different precision, up to 14 digits.[8]

Some other dialects of BASIC were created that were based on and inspired by North Star BASIC, such as BaZic (a rewrite of North Star BASIC, taking advantage of the faster Zilog Z80 instructions),[1] Megabasic and S.A.I.L.B.O.A.T. (a basic optimized for Z80 and X86 MS-DOS). Some of these were available for other hardware and operating systems, including Unix, CP/M and DOS.

## References

### Citations

1. ↑ 1.0 1.1 Richard Milewski, "Micro Mike's baZic release 1", InfoWorld, April 27, 1981
2. ↑ Manual 1977, p. 11.
3. ↑ Manual 1977, p. 10.
4. ↑ 4.0 4.1 Manual 1977, p. 8.
5. ↑ Manual 1977, p. 9.
6. ↑ David A. Lien, "The BASIC Handbook" Compusoft Pub., 1981
7. ↑ Manual 1977, p. 5.
8. ↑ Manual 1977, p. 2.

### Bibliography

* North Star BASIC version 6. North Star Corporation. 1977. http://itelsoft.com.au/north_star_manuals/North_Star_BASIC_Version_6.pdf. Retrieved 2011-11-21.

## External links

* North Star BASIC manual, Version 5
* The User's Guide to North Star BASIC

* v
* t
* e

Dialects of the BASIC programming language (list)

Classic|

* Altair BASIC
* Applesoft BASIC
* Atari BASIC
* Atari 2600 BASIC
* Atari Microsoft BASIC
* Atari ST BASIC
* BASIC-PLUS
* BASICA
* BASIC A+
* BASIC XE
* BASIC XL
* Casio BASIC
* CBASIC
* Chipmunk Basic
* Color BASIC
* Commodore BASIC
* Extended Color BASIC
* Dartmouth BASIC
* Disk Extended Color BASIC
* Family BASIC
* GFA BASIC
* GW-BASIC
* HP BASIC for OpenVMS
* HP Time-Shared BASIC
* IBM BASIC
* Integer BASIC
* Locomotive BASIC
* Mallard BASIC
* Microsoft BASIC
* MSX BASIC
* Pure Basic
* Rocky Mountain BASIC
* S'-BASIC (Tandy, Casio, Sharp Pocket Computers)
* SCELBAL
* ScriptBasic
* Sinclair BASIC
* Southampton BASIC System
* STOS BASIC
* TI BASIC (TI 99/4A)
* TI-BASIC (calculators)
* TI Extended BASIC (aka XBasic)
* Tiny BASIC
* Turbo-Basic XL
* Tymshare SUPER BASIC
* UBASIC
* Vilnius BASIC
* XBasic

Procedure-oriented|

* AmigaBASIC
* AMOS BASIC
* ASIC
* BBC BASIC
* Beta BASIC
* DarkBASIC
* FreeBASIC
* FutureBASIC
* GFA BASIC
* GLBasic
* Liberty BASIC
* Microsoft Small Basic
* PowerBASIC
* PureBasic
* QBasic
* QB64
* QuickBASIC
* SmallBASIC
* SuperBASIC
* ThinBasic
* True BASIC
* Turbo Basic
* XBasic
* Xblite
* Basic4ppc
* Visual Test
* B4J

With object extensions|

* AutoIt
* Basic For Qt (KBasic)
* BlitzMax
* Chipmunk Basic
* FreeBASIC
* Gambas
* GLBasic
* HBasic
* OpenOffice Basic
* PowerBASIC
* ProvideX
* RapidQ
* REALbasic
* Run BASIC
* Visual Basic
* Visual Basic .NET
* Xojo

For mobile devices|

* B4X
* Basic4android (B4A)
* Basic4ppc
* GLBasic
* NS Basic
* Basic4ios (B4i)

Microsoft|

* Microsoft BASIC
* MBASIC
* IBM BASIC/BASICA
* GW-BASIC
* QuickBASIC
* QBasic
* VBScript
* Visual Basic
* VBA
* Visual Basic .NET
* Embedded Visual Basic
* VB 5 for Microsoft Excel 5.0
* VSTO
* VSTA
* WordBASIC
* TRS-80 Basics (Level I, Level II, Level III)
* Microsoft Small Basic

Third-party VB-like|

* B4X
* Basic For Qt
* Gambas
* HBasic
* Hummingbird Basic
* LotusScript
* WinWrapBasic
* Xojo

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/North Star BASIC. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=North_Star_BASIC&oldid=3430580"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template