<s>
SUPER	B-Language
BASIC	I-Language
,	O
sometimes	O
SBASIC	O
for	O
short	O
,	O
is	O
an	O
advanced	O
dialect	O
of	O
the	O
BASIC	B-Language
programming	I-Language
language	I-Language
offered	O
on	O
Tymshare	O
's	O
SDS	B-Device
940	I-Device
systems	O
starting	O
in	O
1968	O
and	O
available	O
well	O
into	O
the	O
1970s	O
.	O
</s>
<s>
Like	O
the	O
Dartmouth	B-Language
BASIC	I-Language
it	O
was	O
based	O
on	O
,	O
SUPER	B-Language
BASIC	I-Language
was	O
a	O
compile	O
and	O
go	O
language	O
,	O
as	O
opposed	O
to	O
an	O
interpreter	B-Language
.	O
</s>
<s>
In	O
addition	O
to	O
offering	O
most	O
of	O
the	O
commands	O
and	O
functions	O
from	O
Dartmouth	B-Language
BASIC	I-Language
Version	O
4	O
,	O
in	O
including	O
matrix	O
math	O
commands	O
,	O
SUPER	B-Language
BASIC	I-Language
also	O
included	O
a	O
number	O
of	O
features	O
from	O
the	O
seminal	O
JOSS	B-Language
language	O
developed	O
at	O
Rand	O
Corporation	O
,	O
via	O
Tymshare	O
's	O
version	O
,	O
CAL	B-Language
,	O
and	O
added	O
a	O
variety	O
of	O
new	O
functions	O
,	O
complex	O
numbers	O
as	O
a	O
built-in	O
type	O
,	O
and	O
double	O
precision	O
support	O
.	O
</s>
<s>
SUPER	B-Language
BASIC	I-Language
also	O
greatly	O
improved	O
string	O
handling	O
over	O
the	O
rudimentary	O
system	O
in	O
Dartmouth	O
,	O
introducing	O
the	O
,	O
and	O
string	O
functions	O
,	O
simple	O
string	O
concatenation	O
and	O
other	O
features	O
.	O
</s>
<s>
These	O
were	O
later	O
used	O
in	O
DEC	O
's	O
BASIC-PLUS	B-Language
,	O
which	O
was	O
later	O
used	O
as	O
the	O
basis	O
for	O
the	O
original	O
Microsoft	B-Language
BASIC	I-Language
that	O
saw	O
widespread	O
use	O
in	O
the	O
1980s	O
.	O
</s>
<s>
The	O
original	O
Dartmouth	B-Language
BASIC	I-Language
was	O
released	O
in	O
1964	O
but	O
was	O
largely	O
experimental	O
at	O
the	O
time	O
.	O
</s>
<s>
It	O
went	O
through	O
several	O
revisions	O
before	O
becoming	O
truly	O
useful	O
with	O
the	O
Fourth	O
Edition	O
when	O
it	O
was	O
ported	O
to	O
the	O
GE	B-Device
635	I-Device
machine	O
and	O
was	O
published	O
in	O
1968	O
.	O
</s>
<s>
However	O
,	O
as	O
the	O
code	O
was	O
designed	O
to	O
run	O
on	O
the	O
DTSS	B-Operating_System
operating	O
system	O
,	O
some	O
porting	O
was	O
required	O
to	O
run	O
it	O
on	O
production	O
systems	O
.	O
</s>
<s>
Dartmouth	O
's	O
workflow	O
was	O
tape	B-Architecture
based	I-Architecture
so	O
loading	O
and	O
saving	O
individual	O
files	O
was	O
not	O
practical	O
and	O
direct	O
I/O	O
was	O
not	O
addressed	O
until	O
later	O
versions	O
.	O
</s>
<s>
Bracher	O
's	O
I/O	O
code	O
had	O
originally	O
been	O
developed	O
for	O
Tymshare	O
's	O
SUPER	B-Application
FORTRAN	I-Application
offering	O
.	O
</s>
<s>
Tymshare	O
maintained	O
SUPER	B-Language
BASIC	I-Language
through	O
the	O
1970s	O
,	O
but	O
as	O
the	O
market	O
for	O
rented	O
timeshare	O
programming	O
services	O
dwindled	O
the	O
system	O
went	O
into	O
maintenance	O
and	O
Lewis	O
and	O
Bracher	O
left	O
to	O
do	O
SUPER	B-Language
BASIC	I-Language
consulting	O
for	O
those	O
companies	O
still	O
using	O
it	O
.	O
</s>
<s>
Tymshare	O
filed	O
for	O
a	O
trademark	O
on	O
SUPER	B-Language
BASIC	I-Language
on	O
7	O
January	O
1970	O
,	O
and	O
refreshed	O
it	O
on	O
17	O
October	O
1977	O
,	O
which	O
became	O
the	O
property	O
of	O
McDonnell	O
Douglas	O
in	O
1984	O
when	O
the	O
company	O
purchased	O
Tymshare	O
.	O
</s>
<s>
Like	O
most	O
BASIC	O
systems	O
of	O
the	O
era	O
,	O
SUPER	B-Language
BASIC	I-Language
had	O
a	O
single	O
command	B-Application
line	I-Application
editor	O
that	O
worked	O
both	O
as	O
an	O
interactive	O
language	O
and	O
a	O
program	O
editor	O
.	O
</s>
<s>
Commands	O
that	O
were	O
typed	O
without	O
a	O
line	O
number	O
were	O
executed	O
immediately	O
,	O
which	O
they	O
referred	O
to	O
as	O
"	O
direct	B-Application
mode	I-Application
"	O
.	O
</s>
<s>
Although	O
the	O
built-in	O
editor	O
loaded	O
and	O
saved	O
only	O
the	O
lines	O
in	O
the	O
program	O
itself	O
,	O
the	O
user	O
could	O
edit	O
the	O
resulting	O
text	O
file	O
to	O
add	O
additional	O
commands	O
that	O
would	O
run	O
in	O
direct	B-Application
mode	I-Application
.	O
</s>
<s>
This	O
is	O
unusual	O
for	O
BASIC	O
systems	O
,	O
although	O
this	O
was	O
commonly	O
used	O
in	O
JOSS	B-Language
.	O
</s>
<s>
In	O
keeping	O
with	O
the	O
overall	O
Dartmouth	B-Language
BASIC	I-Language
concept	O
,	O
SUPER	B-Language
BASIC	I-Language
was	O
a	O
compile	O
and	O
go	O
system	O
that	O
compiled	O
the	O
source	O
code	O
when	O
the	O
program	O
was	O
run	O
.	O
</s>
<s>
SUPER	B-Language
BASIC	I-Language
had	O
two	O
commands	O
for	O
this	O
,	O
the	O
typical	O
seen	O
in	O
most	O
BASICs	O
,	O
as	O
well	O
as	O
which	O
did	O
the	O
same	O
thing	O
.	O
</s>
<s>
SUPER	B-Language
BASIC	I-Language
expanded	O
the	O
statement	O
in	O
several	O
ways	O
.	O
</s>
<s>
A	O
minor	O
change	O
was	O
to	O
allow	O
in	O
place	O
of	O
,	O
and	O
allowed	O
the	O
step	O
to	O
be	O
placed	O
at	O
the	O
end	O
as	O
in	O
most	O
BASICs	O
,	O
or	O
in	O
the	O
middle	O
as	O
in	O
JOSS	B-Language
and	O
other	O
languages	O
.	O
</s>
<s>
Additionally	O
,	O
SUPER	B-Language
BASIC	I-Language
provided	O
alternate	O
forms	O
of	O
the	O
range	O
definition	O
using	O
and	O
,	O
whereas	O
most	O
other	O
languages	O
used	O
completely	O
separate	O
loop	O
structures	O
for	O
these	O
.	O
</s>
<s>
As	O
in	O
Microsoft	B-Language
BASIC	I-Language
,	O
multiple	O
loops	O
could	O
end	O
with	O
a	O
single	O
,	O
although	O
it	O
did	O
not	O
include	O
the	O
feature	O
of	O
later	O
version	O
of	O
MS	O
where	O
the	O
index	O
variable	O
could	O
be	O
left	O
off	O
entirely	O
.	O
</s>
<s>
Finally	O
,	O
in	O
JOSS	B-Language
fashion	O
,	O
one	O
could	O
replace	O
the	O
typical	O
range	O
specifier	O
with	O
an	O
explicit	O
list	O
of	O
values	O
,	O
.	O
</s>
<s>
A	O
more	O
major	O
change	O
,	O
following	O
the	O
JOSS	B-Language
model	O
,	O
was	O
the	O
concept	O
of	O
"	O
statement	O
modifiers	O
"	O
that	O
allowed	O
an	O
or	O
to	O
be	O
placed	O
after	O
the	O
statement	O
it	O
controlled	O
.	O
</s>
<s>
SUPER	B-Language
BASIC	I-Language
did	O
not	O
require	O
variables	O
to	O
be	O
typed	O
,	O
a	O
variable	O
could	O
hold	O
a	O
number	O
at	O
one	O
point	O
and	O
a	O
string	O
at	O
another	O
,	O
a	O
side-effect	O
of	O
the	O
way	O
they	O
were	O
stored	O
.	O
</s>
<s>
SUPER	B-Language
BASIC	I-Language
addressed	O
this	O
with	O
the	O
command	O
.	O
</s>
<s>
Unless	O
otherwise	O
specified	O
,	O
variables	O
were	O
stored	O
in	O
a	O
48-bit	O
single	O
precision	O
floating	B-Algorithm
point	I-Algorithm
format	I-Algorithm
with	O
eleven	O
digits	O
of	O
precision	O
.	O
</s>
<s>
SUPER	B-Language
BASIC	I-Language
's	O
list	O
of	O
mathematical	O
functions	O
was	O
longer	O
than	O
most	O
BASICs	O
,	O
including	O
a	O
series	O
of	O
inverse	O
trigonometric	O
functions	O
and	O
logarithms	O
for	O
base	O
2	O
and	O
10	O
.	O
</s>
<s>
SUPER	B-Language
BASIC	I-Language
included	O
a	O
number	O
of	O
functions	O
from	O
JOSS	B-Language
as	O
well	O
:	O
</s>
<s>
In	O
addition	O
to	O
basic	O
math	O
,	O
SUPER	B-Language
BASIC	I-Language
included	O
array	O
functionality	O
like	O
many	O
other	O
BASIC	O
implementations	O
.	O
</s>
<s>
In	O
contrast	O
with	O
other	O
BASICs	O
,	O
SUPER	B-Language
BASIC	I-Language
allowed	O
one	O
to	O
define	O
the	O
range	O
of	O
one	O
or	O
both	O
of	O
the	O
dimensions	O
,	O
assuming	O
1	O
if	O
not	O
defined	O
.	O
</s>
<s>
In	O
addition	O
to	O
these	O
traditional	O
BASIC	O
concepts	O
,	O
SUPER	B-Language
BASIC	I-Language
also	O
included	O
most	O
of	O
the	O
matrix	O
math	O
features	O
found	O
in	O
later	O
versions	O
of	O
Dartmouth	B-Language
BASIC	I-Language
.	O
</s>
<s>
For	O
instance	O
,	O
multiplies	O
all	O
the	O
items	O
in	O
array	O
B	O
by	O
their	O
corresponding	O
item	O
in	O
C	B-Language
,	O
whereas	O
multiplies	O
all	O
the	O
elements	O
in	O
B	O
by	O
5	O
.	O
</s>
<s>
As	O
in	O
most	O
versions	O
of	O
BASIC	O
,	O
SUPER	B-Language
BASIC	I-Language
included	O
the	O
standard	O
set	O
of	O
comparison	O
operators	O
,	O
,	O
,	O
,	O
,	O
and	O
,	O
as	O
well	O
as	O
boolean	O
operators	O
,	O
and	O
.	O
</s>
<s>
SUPER	B-Language
BASIC	I-Language
also	O
added	O
,	O
for	O
"	O
equivalence	O
"	O
(	O
equals	O
)	O
and	O
for	O
"	O
implication	O
"	O
.	O
</s>
<s>
To	O
this	O
basic	O
set	O
,	O
SUPER	B-Language
BASIC	I-Language
also	O
added	O
three	O
new	O
commands	O
for	O
comparing	O
small	O
differences	O
between	O
numbers	O
,	O
these	O
were	O
,	O
and	O
.	O
</s>
<s>
SUPER	B-Language
BASIC	I-Language
also	O
allowed	O
this	O
,	O
which	O
resulted	O
in	O
the	O
somewhat	O
confusing	O
behavior	O
of	O
,	O
which	O
,	O
following	O
operator	O
precedence	O
,	O
assigns	O
5	O
to	O
B	O
and	O
then	O
returns	O
true	O
or	O
false	O
if	O
A	O
=	O
B	O
.	O
</s>
<s>
SUPER	B-Language
BASIC	I-Language
also	O
added	O
true	O
logical	O
variables	O
,	O
declared	O
in	O
a	O
similar	O
fashion	O
as	O
doubles	O
or	O
complex	O
,	O
using	O
,	O
and	O
other	O
variables	O
could	O
be	O
conveyed	O
to	O
logical	O
using	O
.	O
</s>
<s>
In	O
contrast	O
to	O
logical	O
comparisons	O
and	O
operators	O
,	O
SUPER	B-Language
BASIC	I-Language
also	O
added	O
a	O
number	O
of	O
bitwise	O
logical	O
operators	O
.	O
</s>
<s>
SUPER	B-Language
BASIC	I-Language
allowed	O
string	O
constants	O
(	O
literals	O
)	O
to	O
be	O
enclosed	O
with	O
single	O
or	O
double	O
quotes	O
,	O
so	O
and	O
were	O
both	O
valid	O
statements	O
.	O
</s>
<s>
This	O
could	O
lead	O
to	O
some	O
confusion	O
when	O
a	O
user	O
provided	O
a	O
value	O
combining	O
digits	O
and	O
letters	O
,	O
and	O
SUPER	B-Language
BASIC	I-Language
assumed	O
anything	O
starting	O
with	O
a	O
digit	O
was	O
a	O
number	O
.	O
</s>
<s>
As	O
with	O
all	O
variables	O
in	O
SUPER	B-Language
BASIC	I-Language
,	O
these	O
could	O
be	O
arrays	O
,	O
.	O
</s>
<s>
Additionally	O
,	O
SUPER	B-Language
BASIC	I-Language
added	O
the	O
additional	O
statement	O
which	O
took	O
a	O
second	O
parameter	O
to	O
define	O
the	O
length	O
of	O
the	O
string	O
elements	O
,	O
so	O
makes	O
an	O
array	O
with	O
12	O
elements	O
of	O
10	O
characters	O
each	O
,	O
while	O
is	O
an	O
array	O
of	O
six	O
elements	O
,	O
5	O
..	O
10	O
,	O
each	O
15	O
characters	O
long	O
.	O
</s>
<s>
SUPER	B-Language
BASIC	I-Language
included	O
operators	O
for	O
for	O
comparison	O
and	O
for	O
concatenation	O
.	O
</s>
<s>
SUPER	B-Language
BASIC	I-Language
also	O
included	O
pseudo-variables	O
for	O
and	O
,	O
the	O
later	O
being	O
double-precision	O
,	O
as	O
well	O
as	O
the	O
previously	O
mentioned	O
to	O
represent	O
the	O
smallest	O
possible	O
value	O
.	O
</s>
<s>
SUPER	B-Language
BASIC	I-Language
included	O
two	O
forms	O
of	O
print	O
formatting	O
that	O
could	O
be	O
used	O
with	O
the	O
statement	O
.	O
</s>
<s>
used	O
a	O
format	O
string	O
,	O
in	O
this	O
case	O
stored	O
in	O
,	O
in	O
a	O
fashion	O
similar	O
to	O
what	O
other	O
BASICs	O
implemented	O
using	O
or	O
the	O
more	O
common	O
examples	O
found	O
in	O
C	B-Language
and	O
its	O
follow-ons	O
.	O
</s>
<s>
SUPER	B-Language
BASIC	I-Language
included	O
a	O
file	O
input/output	O
system	O
based	O
on	O
and	O
where	O
is	O
file	O
handle	O
,	O
a	O
number	O
.	O
</s>
<s>
SUPER	B-Language
BASIC	I-Language
programs	O
often	O
included	O
code	O
like	O
to	O
wait	O
for	O
user	O
input	O
and	O
test	O
it	O
every	O
second	O
before	O
continuing	O
.	O
</s>
