请输入您要查询的百科知识:

 

词条 NorthStar BASIC
释义

  1. References

  2. External links

NorthStar BASIC was a dialect of the programming language BASIC originally provided for use on the NorthStar Horizon and NorthStar Advantage. The interpreter was written using only Intel 8080 instructions so that it could run also on custom systems.[1] One notable difference with other dialects of BASIC of the time was the array-like way in which strings were addressed.[2] For example, A$(13,17) in NorthStar BASIC corresponded to MID$(A$,13,5) in other dialects. This string addressing

technique is analogous to the one used in Fortran, and was also used in HP-3000 Basic and Atari BASIC.

Strings were allocated 10 bytes maximum length unless DIMensioned otherwise.[3] It was still possible to use arrays of strings, but these were declared in two or more dimensions, for example DIM B$(10,50) created 11 strings (0-10) of maximum length 50 bytes. Input from the keyboard and output to the console and printers were treated in the same way as reading and writing to data files. Some other differences were that POKE became FILL, PEEK became EXAM, and INSTR became MATCH.[2]

Some other dialects of BASIC were created which were based on and inspired by NorthStar 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

1. ^Richard Milewski, "[https://books.google.com/books?id=DT4EAAAAMBAJ&pg=PA16 Micro Mike's baZic release 1]", Infoworld, April 27, 1981
2. ^David A. Lien, "The BASIC Handbook" Compusoft Pub., 1981
3. ^North Star BASIC version 6 manual, p. 10, North Star Corporation, Inc. (1977)

External links

  • NorthStar BASIC manual
{{DEFAULTSORT:Northstar Basic}}

1 : BASIC programming language family

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/11 11:18:46