EasyManuals Logo

Sinclair QL User Manual

Sinclair QL
422 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #418 background imageLoading...
Page #418 background image
Except for
Easel
the valid range for numbers
in
the OL programs
is:
±
2.9*10
39
to ± 1.7*10
38
All calculations are accurate
to
sixteen significant digits but only a maximum
of
fourteen
characters can be displayed.
In
easel the range
of
valid numbers
is
± 1.0-
35
to
±
1.0
x
10.
36
The following arithmetic operators
are
provided
In
Abacus, Archive and
Easel:
QL
PROGRAM
ARITHMETIC
Operator Function
+
>
<
<~
>=
<>
Addition on numbers or
concatenation
on
strings
Subtraction
Multiplication
Division
Raise
to
a power
Equal
Greater than
Lesser than
Lesser than or equal
to
Greater than or equal
to
Not equal
to
There
is
no automatic coercion between data types.
Therefore,
operands must be
of
the same
type.
The
result
is
always
a numbe( 1
if
the comparison
is
true and 0
if it
is
false.
Functions and operators have the following precedence:
Operation
Precedence
<>
or
Unary minus
*,
/
Subscripting and slicing
12
All
functions
11
10
9
8
6
5
4
3
2
+,-
=,>,<,<=,>=,
not
and
12/84
11

Other manuals for Sinclair QL

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Sinclair QL and is the answer not in the manual?

Sinclair QL Specifications

General IconGeneral
ProcessorMotorola 68008
Clock Speed7.5 MHz
RAM128 KB (expandable to 640 KB)
ROM48 KB
Operating SystemSinclair QDOS
Release Year1984
StorageMicrodrive tape loop
Graphics256x256 pixels, 8 colors
PortsRS-232, ROM cartridge
SoundBeeper (internal speaker)

Related product manuals