Content deleted Content added
Citation bot (talk | contribs) m Alter: template type. Add: pages, issue, volume, journal. Removed parameters. Formatted dashes. Some additions/deletions were actually parameter name changes. | You can use this bot yourself. Report bugs here. | Activated by User:AManWithNoPlan | All pages linked from User:AManWithNoPlan/sandbox2 | via #UCB_webform_linked |
m Open access bot: url-access updated in citation with #oabot. |
||
(9 intermediate revisions by 8 users not shown) | |||
Line 1:
{{One source|date=December 2023}}
{{see also|SOB (disambiguation)}}
{{Use dmy dates|date=
'''Southampton BASIC System''' ('''SOBS''') was a dialect of the [[BASIC]] [[programming language]] developed for and used on [[ICT 1900 series]] computers in the late 1960s and early 1970s; it was implemented as an incremental [[BASIC interpreter]] under the [[MINIMOP]] operating system at the [[University of Southampton]]<ref>
{{cite journal
|
|
| last2 = Oppenheimer
| first2 = A.W.
| title = SOBS
| journal = Software: Practice and Experience
| publisher = Wiley InterScience
| date = 21 January 1977
Line 20 ⟶ 21:
| format =
| doi = 10.1002/spe.4380070508
|
| access-date = 18 May 2009
}}</ref> and also ran under [[MAXIMOP]].▼
| url-access = subscription
▲ }}</ref> and also ran under [[MAXIMOP]].
It was operated from a [[Teletype Corporation|Teletype]] terminal, though CRT terminals could also be used.
Line 123 ⟶ 126:
Support for strings was more limited, with only one function, <code>LEN</code>, which returned the length of the string parameter. Sub-strings were supported with square brackets, so <code>A£[2,3]</code> referred to the sub-string of the string <code>A£</code> from the 2nd character to the 3rd character inclusive, so
<
</syntaxhighlight>
would print <code>OO</code>
This syntax was also supported on the left-hand side of an assignment, so
<
</syntaxhighlight>
would print <code>FBARO</code>
Line 141 ⟶ 144:
Example:
<
</syntaxhighlight>
{|
|<code>A</code> is read from the first <code>DATA</code> statement
|<math>\begin{pmatrix}
\end{pmatrix}</math>
|-
|<code>B</code> is read from the second <code>DATA</code> statement
|<math>\begin{pmatrix}
\end{pmatrix}</math>
|-
|<code>C</code> is calculated by multiplying <code>A</code> and <code>B</code>
|<math>\begin{pmatrix}
\end{pmatrix}</math>
|-
|<code>D</code> is calculated as the inverse of <code>C</code>
|<math>\begin{pmatrix}
\end{pmatrix}</math>
|}
The output would be
== Debugging ==
|