Category:QL SuperBASIC

From Rosetta Code
Revision as of 22:44, 14 May 2020 by rosettacode>Retroburrowers (FP & integer oddities)
This page is a stub. It needs more information! You can help Rosetta Code by filling it in!
Language
QL SuperBASIC
This programming language may be used to instruct a computer to perform a task.
See Also:


Listed below are all of the tasks on Rosetta Code which have been solved using QL SuperBASIC.

This is a stub about the interpreted language by Sinclair Research (and unrelated to the compiled SUPER BASIC, aka SBASIC, by Tymshare)

SuperBASIC is an advanced variant of the BASIC programming language with many structured programming additions. It was developed at Sinclair Research by Jan Jones during the early 1980s. Originally SuperBASIC was intended for a home computer, code-named SuperSpectrum, then under development. This project was later cancelled; however, SuperBASIC was subsequently included in the ROM firmware of the Sinclair QL microcomputer (announced in January 1984), also serving as the command line interpreter for the QL's Qdos operating system. It is notable for being the first second-generation BASIC to be integrated into a microcomputer's operating system, so making the latter user-extendable—as exemplified by Linus Torvalds in his formative years.

While an advancement over ZX Spectrum BASIC, it falls short in FP precision. 2^32, or 4294967295, - 1 yields the correct result on a Spectrum, but is 4.967296E6 on a QL. And while providing integer variables lacking on the Spectrum as well as the ZX81, their range is limited to that found on the ZX80, rather than exploiting SuperBASIC's type coercion to make full use of the 68008's 32-bit data registers. Thus, one can only take the MOD of a whole number that is within +/-2^15 (exclusive).

Pages in category "QL SuperBASIC"

The following 4 pages are in this category, out of 4 total.