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 #134 background imageLoading...
Page #134 background image
•
CHR$
CHR$
is
a function which
will
return
the character whose value
is
specified
as
a parameter BASIC
CHR$
is
the inverse of CODE.
CIRCLE
will
draw a
CIrcle
(or an ellipse
at
a specified angle) on the screen
at
a specified
position and
size.
The circle
will
be drawn
In
the Window attached
to
the specified or
default channel.
CIRCLE uses the graphics coordinate system and can use absolute coordinates
(i.e.
relative
to
the graphics origin). and relative coordinates
(i.e.
relative
to
the
graphics cursor).
For
relative coordinates use CIRCLE_R.
Multiple circles or ellipses can be plotted with a single call
to
CIRCLE. Each set
of
parameters must be separated from each other with a semi colon
(;)
The word ELLIPSE can be substituted for CIRCLE
If
required.
•
•
syntax:
example:
syntax:
CHR$ (numeric_expression)
i.
PRINT CHR$(271 [print
ASCII
escape characterj
ii.
PRINT CHR$(6S) [print Al
FOR SERVICE MANUALS
CONTACT:
MAURITRON
TECHNICAL
SERVICES
wWW.mauritron.cO.uk
TEL:
01844
-
351694
FAX:
01844-352554
x:
= numeric_expression
y:
= numeric_expression
radius:
= numeric_expression
eccentriclly:
=numeric_expression
angle:
= numeric_expression [range 0 .2
1t
]
parameters: = I
x.
y,
1
I radius, eccentricity. angle 2
where 1
Will
draw a circle
2
will
draw an ellipse of specified eccentricity and angle
CIRCLE [channel,J parameters *[; parameters] *
x horizontal offset from
the
graphics origin or graphics cursor
y verticat offset from the graphics origin or graphics cursor
radius radius of the circle
CIRCLE
CIRCLE_R
graphics
eccentricity
angle
the ratio between the major and minor axes of
an
ellipse.
the orientation of the major axis of the
ellipse relative
to
the screen
vertical.
The angle must be specified
in
radians.
example:
12/84
i.
CIRCLE
SO,SO,20
ii.
CIRCLE
50,50,20,0.5,0
[a circle at 50,50 radius
201
[an ellipse
at
50,50 major axis 20
eccentricity
0.5
and aligned with the
verticaJ
axisl
7

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