Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

S-BASIC

From Wikipedia, the free encyclopedia
Programming language
This article is about the Kaypro Basic. For Dartmouth Structured BASIC, seeDartmouth BASIC § SBASIC. For the more recent Basic that uses the filename "sbasic", seeSmallBASIC.

S-BASIC (forStructured Basic) was a "structured"BASIC variant, distributed withKayproCP/M systems.[1][2] It was made by Topaz Programming is distributed by Micro-Ap (San Ramon, California).[3]

SBasic was compatible with the syntax of BASIC, aprogramming language commonly used in the 1970s through the 1980s, as well asFortran77. However, the language relaxed many of the requirements of BASIC and had more flexibility thanFortran. For instance, line numbers were optional, and permitted non-numeric characters. In addition, SBasic offered developersstructured programming concepts, includingrecursion andnesting. ManyPL/I programs could be compiled with little modification, though SBasic did not offer an extensivefunction library.

Among the more advanced features was the ability to "base" avariable orarray, making the memory location dynamic and modifiable during execution. SBasic programs had the ability to access memory areas reserved for theoperating system unless prohibited from doing so by the operating system itself. (Kaypro's CP/M had no such prohibitions.) This enabled direct utilization and modification ofDMA and other memory areas. This feature also permitted a program to modify itself at run-time. This capability also allowed modifying theinstruction pointer, so a program could effectivelylink other executable modules that were read during execution as data.

UnlikeBASIC interpreters that stored "p-code" that was parsed by an execution module, SBasic was a two-passcompiler, ultimately producing.com files that were executable. The language was written in a subset of itself and compiled using a .com kernel, then stored on diskette (or hard drive on the last KayPro model). The source was distributed with some KayPro models. This encouragedopen-source-like modification of the language, with some early pre-Internet user groups exchanging physical diskettes by regular mail.

Not to be confused with the namesake SBasic (S for Spectral Basic) Programming Language for the commercial Spectral UV-Visible software.[4][5]

Reception

[edit]

Jerry Pournelle in 1983 wrote that S-BASIC "is quite nice", stating that it "rivals CB-80". He presumed that Kaypro users would "will begin by using MicrosoftMBASIC, then start translating their programs into S-BASIC and learn more about structured programming". Pournelle added, "If I had to give an award for the most unreadable computer document I've ever seen, the original S-BASIC manual would win hands down"; however, Kaypro had rewritten it and "is a great deal more sensible".[2]

References

[edit]
  1. ^"SBASIC?". Archived fromthe original on 2010-12-08. Retrieved2009-04-16.
  2. ^abPournelle, Jerry (June 1983)."Zenith Z-100, Epson QX-10, Software Licensing, and the Software Piracy Problem".BYTE. Vol. 8, no. 6. p. 411. Retrieved20 October 2013.
  3. ^Miller, A.R. (April 1981),"SBasic: A Structured, Compiling Language for CP/M",Interface Age,6 (4),Cerritos, California: McPheters, Wolfe & Jones:92–96, 0-71486-02631 04, archived fromthe original on February 23, 2012, retrieved21 May 2009
  4. ^"UV-Visible spectrophotometer - Spectral Software". Archived fromthe original on 11 July 2009. Retrieved21 May 2009.
  5. ^Paul, Liberatore,Simplifying Routine Analyses using Spectral SBasic Programming Language—Chlorophyll Analysis(PDF), GBC Scientific Application Notes—UV-Visible, archived fromthe original(PDF) on 2016-03-03, retrieved2009-05-21
Notes
Dialects of theBASIC programming language (list)
Classic
Microsoft
Texas Instruments
Hewlett-Packard
Locomotive Software
Microcomputers
Minicomputers
Time-sharing computers
Other
Extenders
Procedure-
oriented
Proprietary
Free and
open source
Withobject
extensions
Proprietary
Free and
open source
RAD
designers
Proprietary
Free and
open source
Defunct


Stub icon

Thisprogramming-language-related article is astub. You can help Wikipedia byadding missing information.

Retrieved from "https://en.wikipedia.org/w/index.php?title=S-BASIC&oldid=1300854422"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp