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 Overview  





2 References  



2.1  Citations  





2.2  Bibliography  







3 External links  














North Star BASIC







Add 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
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


North Star BASIC
Paradigmimperative
Designed byCharles A. Grant,
Mark Greenberg
DeveloperNorth 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]

Overview[edit]

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)inMicrosoft 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 "DIMensioned" 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 SCRatch, 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[edit]

Citations[edit]

  1. ^ a b Richard Milewski, "Micro Mike's baZic release 1", InfoWorld, April 27, 1981
  • ^ Manual 1977, p. 11.
  • ^ Manual 1977, p. 10.
  • ^ a b Manual 1977, p. 8.
  • ^ Manual 1977, p. 9.
  • ^ David A. Lien, "The BASIC Handbook" Compusoft Pub., 1981
  • ^ Manual 1977, p. 5.
  • ^ Manual 1977, p. 2.
  • Bibliography[edit]

    External links[edit]


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

    Category: 
    BASIC programming language family
    Hidden categories: 
    Articles with short description
    Short description matches Wikidata
     



    This page was last edited on 6 September 2023, at 12:14 (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