Skip to content

Minor doc typos #242

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/source/devguide.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ <h5 id="session.execute"><code>execute(<var>basic_code</var>)</code></h4>
<h5 id="session.sevaluate"><code>evaluate(<var>basic_expr</var>)</code></h4>
<p>
Evaluate a BASIC expression and return its value as a Python value.
For type converson rules, see <a href="#session.get_variable"><code>get_variable</code></a>.
For type conversion rules, see <a href="#session.get_variable"><code>get_variable</code></a>.
</p>

<h5 id="session.set_variable"><code>set_variable(<var>name</var>, <var>value</var>)</code></h4>
Expand Down
6 changes: 3 additions & 3 deletions docs/source/guide.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h2 id="guide">Language guide</h2>
The BASIC Language Guide covers the language topic by topic, thematically grouping
language elements used for a related purpose. Please refer to the
<a href="#reference">BASIC Language Reference</a> for a formal description of
the langage elements and their syntax.
the language elements and their syntax.
</p>

<section>
Expand Down Expand Up @@ -101,7 +101,7 @@ <h3 id="guide-flow">Control flow</h3>
<p>
A program is normally executed starting with its lowest line number (or the line number called by <code>RUN</code>). Statements on a line are executed from
left to right. When all statements on a line are finished, execution moves to the next lowest line number, and so on until no line numbers are left.
Control flow statements can be used to modify this normal flow of executon.
Control flow statements can be used to modify this normal flow of execution.
</p>
<p>
The <code>END</code> and <code>STOP</code> statements serve
Expand All @@ -128,7 +128,7 @@ <h3 id="guide-flow">Control flow</h3>
<p>
The <code>ON</code> statement provides an alternative branching construct. An integer value is used to selects
one of a list of line numbers, and execution is continued from there. It can be used with a <code>GOTO</code> jump
as wellas with a <code>GOSUB</code> subroutine call.
as well as with a <code>GOSUB</code> subroutine call.
</p>
<p>
<code>ON</code>, <code>GOTO</code> and <code>GOSUB</code> can also be used from direct mode to start a program or subroutine without resetting variables.
Expand Down
8 changes: 4 additions & 4 deletions docs/source/reference.html
Original file line number Diff line number Diff line change
Expand Up @@ -2575,7 +2575,7 @@ <h5>Parameters</h5>
<li>
If <code><var>x</var></code> is negative, <code><var>x</var></code> is converted to a single-precision floating-point value
and the random number seed is set to the absolute value of its mantissa.
The function then generates a new pseudorandom numer with this seed.
The function then generates a new pseudorandom number with this seed.
Since the only the mantissa of <code><var>x</var></code> is used, any two values whose ratio is a
power of 2 will produce the same seed.
Note that this procedure for generating a new seed differs from that used by <code><a href="#RANDOMIZE">RANDOMIZE</a></code>.
Expand Down Expand Up @@ -9965,7 +9965,7 @@ <h4 id="SAVE"><code>SAVE</code></h4>
<li>
If <code><b>,A</b></code> is specified, the program will be saved in plain text format.
In this case, program execution will stop and control will be returned to the user.
Any further statements on teh line will be ignored, also in direct mode.
Any further statements on the line will be ignored, also in direct mode.
</li>
<li>
If <code><b>,P</b></code> is specified, the program will be saved in <a href="#protected-file-format">protected format</a>.
Expand Down Expand Up @@ -11444,7 +11444,7 @@ <h4 id="errors">Errors</h4>
<td>
<samp><b>Device I/O error</b></samp>
<p>
An I/O error has occured during input/output to a device. This includes faming errors,
An I/O error has occurred during input/output to a device. This includes framing errors,
CRC check failures and unexpected end-of-tape on cassette devices.
</p>
</td>
Expand Down Expand Up @@ -11619,7 +11619,7 @@ <h4 id="errors">Errors</h4>
<p>
If a <samp>Syntax error</samp> occurs during program execution,
the error message is followed by a listing of the program line
in which the error occurred, wth the cursor positioned at the location
in which the error occurred, with the cursor positioned at the location
where the error was raised.
</p>
<p>
Expand Down
2 changes: 1 addition & 1 deletion docs/source/techref.html
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ <h3 id="protected-file-format">Protected file format</h3>
</dt>
<dd>
Encrypted content of a tokenised program file, including its
end of file marker but excluding its magic byte. The encription cipher
end of file marker but excluding its magic byte. The encryption cipher
rotates through an 11-byte and a 13-byte key so that the resulting
transformation is the same after 143 bytes. For each byte,
<ul>
Expand Down