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 #161 background imageLoading...
Page #161 background image
LN
LOG10
maths functions
LN
will
return the natural logarithm
of
the specified argument.
LOG10
will
return the
common logarithm. There
is
no upper limit on the parameter other than the maximum
number the computer can
store.
syntax:
LOG10
(numeric_expression) [range greater than zero]
LN
(numeric_expression) [range greater than zero]
example:
i.
PRINT
LOG10CZO)
ii.
PRINT
LNC3.141592654)
FOR SERVICE MANUALS
CONTACT:
MAUR1TRON
TECHNICAL
SERVICES
www.mauritron.co.uk
TEL: 01844 - 351694
FAX: 01844
- 352554
34
LOCal
functions and
procedures
comment
LOCal allows identifiers
to
be defined
to
be LOCal
to
a function
or
procedure. Local
identifiers only
exist
within the function or procedure
In
which they
are
defined, or
in
procedures and functions called
from
the
function or procedure
in
which
they
are
defined.
They
are
lost
when the function or procedure
terminates.
l.Dca1
identifiers
are
independent
of
similarly named identifiers outside the defining function or procedure. Arrays can be
defined
to
be local by dimensioning them within the LOCal statement.
The LOCal statement must precede the
first
executable statement
in
the function or
procedure
in
which
it
is
used.
syntax:
LOCal identifier *
[.
identifier] *
example:
i.
LOC
a
La,
b,
C C1
0,1
Q)
Ii.
LOCaL
temp_data
Defining variables
to
be LOCal allows variable names
to
be used within functions and
procedures without corrupting meaningful variables
of
the
same name outside the function
or procedure.
1?/R4

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