SUPER BASIC, sometimes SBASIC for short, is an advanced dialect of the BASIC programming language offered on Tymshare's SDS 940 systems starting in 1968 and available well into the 1970s.
| FactSnippet No. 1,624,766 |
SUPER BASIC, sometimes SBASIC for short, is an advanced dialect of the BASIC programming language offered on Tymshare's SDS 940 systems starting in 1968 and available well into the 1970s.
| FactSnippet No. 1,624,766 |
SUPER BASIC greatly improved string handling over the rudimentary system in Dartmouth, introducing the LEFT, MID and RIGHT string functions, simple string concatenation and other features.
| FactSnippet No. 1,624,767 |
Original Dartmouth SUPER BASIC was released in 1964 but was largely experimental at the time.
| FactSnippet No. 1,624,768 |
In keeping with the overall Dartmouth BASIC concept, SUPER BASIC was a compile and go system that compiled the source code when the program was run.
| FactSnippet No. 1,624,769 |
SUPER BASIC had two commands for this, the typical RUN seen in most BASICs, as well as START which did the same thing.
| FactSnippet No. 1,624,770 |
Additionally, SUPER BASIC provided alternate forms of the range definition using WHILE and UNTIL, whereas most other languages used completely separate loop structures for these.
| FactSnippet No. 1,624,771 |
SUPER BASIC did not require variables to be typed, a variable could hold a number at one point and a string at another, a side-effect of the way they were stored.
| FactSnippet No. 1,624,772 |
In most dialects of SUPER BASIC, variables are created on-the-fly as they are encountered in the code, and generally set to zero when created.
| FactSnippet No. 1,624,773 |
In contrast with other BASICs, SUPER BASIC allowed one to define the range of one or both of the dimensions, assuming 1 if not defined.
| FactSnippet No. 1,624,774 |
SUPER BASIC added XOR, EQV for "equivalence" and IMP for "implication".
| FactSnippet No. 1,624,775 |
SUPER BASIC allowed this, which resulted in the somewhat confusing behavior of, which, following operator precedence, assigns 5 to B and then returns true or false if A=B.
| FactSnippet No. 1,624,776 |
Additionally, SUPER BASIC added the additional statement TEXT which took a second parameter to define the length of the string elements, so TEXT A:10 makes an array with 12 elements of 10 characters each, while TEXT B:15 is an array of six elements, 5.
| FactSnippet No. 1,624,777 |
SUPER BASIC included operators for = for comparison and + for concatenation.
| FactSnippet No. 1,624,778 |
SUPER BASIC included pseudo-variables for PI and DPI, the later being double-precision, as well as the previously mentioned EPS to represent the smallest possible value.
| FactSnippet No. 1,624,779 |
SUPER BASIC included two forms of print formatting that could be used with the PRINT statement.
| FactSnippet No. 1,624,780 |