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
•