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 #123 background imageLoading...
Page #123 background image
.1.
A
pixel
is
the
smallest
area
of
light
that
can
be
displayed
on
the
screen.
2.
There
are
256
pixel
positions across
the
low
resolution
mode.
3.
There
are
256
pixel
positions
from
top
to
bottom
in
the
low
resolution
mode.
4.
An
address
is
determined
by:
the
up
value,
0
to
100
the
across
value,
0
to
a number computed
by
the
system
5.
There
are
eight colours available
in
the
low
resolution mode including black
and
white.
6,
i.
LINE draws a
line,
eg, LINE a,b m
x,y
ii.
INK
selects
a colour
for
drawing,
e,g,
INK 5
iii,
PAPER
selects
a background
colour,
e,g,
PAPER
7
iv BORDER draws a border
e,g.
BORDER
1,5
7.
REPeal name
....
END
REPeal
name.
8,
9,
A REPeal loop ferminates when
an
'EXIT
name'
statement
is
executed,
Loops
in
SuperBASIC
have
names
so
that
it
is
possible
to
EXIT
from
them
in
a
straighrtorward
way.
It
is
not
necessary
to
work out line numbers
in
advance,
ANSWERS
TO
SELF
TEST
ON
CHAPTER
3
11
to
13
IS
very good.
Carryon
reading.
8
to
10
is
good but
re-read
some
parts
of
chapter
three.
6
or
7
IS
fair
but
re-read
some
parts
of
chapter
three
and do
the
test
again.
Under
6,
You
should work carefully through chapter
three
again
and
repeat
the
test
CHECK
YOUR
SCORE
4.
Names
such
as
wordS
are
sometimes pronounced 'worddollar:
ANSWERS
TO
SELF
TEST
ON
CHAPTER
4
A character
string
IS a sequence
of
characters
such
as
letters,
digits
or
other
symbols,
The
term,
character
string:
is
often
abbreviated
to
'string:
A
string
variable name
always
ends
with
$,
1.
5
2
3.
The
keyword
LEN
will
find
the
length
or
number
of
characters
in
a
string.
For
example,
if
the
variable
meatS
has
the
value
'steak'
then
the
statement:
PRINT
LEN(meat$)
will
output
5.
6,
The
symbol
for
Joining
two
strings
is
&,
7.
The
limits
of
a
string
may
be
defined
by
quotes
or
apostrophes.
8.
The
quotes
are
not
part
of
the
actual
string
and
are
not
stored.
9.
The
function
is
CHR$.
You
must
use
it
with
brackets
as
in
CHR$(66)
or
with
brackets
as
in
CHR$(RND(65 m
67)
10,
You
generate random
letters
with
statements
like:
lettereode
=
RNO(65
TO
90)
PRINT
CHR$(lettereode)
9
or
10
is
very
good,
Carryon
reading,
7
or
8
is
good but
re-read
some
parts
of
chapter
four,
5
or
6
is
fair
but
re-read
some
parts
of
chapter four and do
the
test
again.
Under 5
You
shourd
work carefully through chapter
four
again
and
repeat
the
test
CHECK
YOUR
SCORE
12/84
107

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