EasyManua.ls Logo

Laser 128 - Constants

Laser 128
255 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SOME BACKGROUND IN BASIC PROGRAMMING
The
line
numbers
must
be
in
the
range
of
0
to 63999.
They
relate
to
the
order
in
which
a
BASIC
program
is
stored
in
memory,
and
the
interpreter
always
executes
a
program
in
the
sequence
of
the
line
numbers
(unless
the
program
branches
otherwise.)
2.2
CONST
ANTS
As
their
name
implies,
these
are
values
that
do
not
change.
In
BASIC
they
can
be
either
numeric
or
string
values. Some
string
constants
are:
"$64,000"
"May
the
Force
be
with
you"
There
are
two
types
of
numeric
constant.
I.
Integer
constants
Whole
numbers
in
the
range
from
-32767
to +32767.
2.
Floating
point
constants
Positive
or
negative
numbers
that
are
represented
in
exponential
form.
These
are
made
up
of
three
parts:
the
fixed
point
part,
in
decimal
form;
the
E
which
signifies
exponen
tia
ti
on
and
the
exponent,
which
must
be
an
integer.
The
range
of
values
for
floating
point
constants
is
from
IE-38
to
8.5E + 37.
Example:
256.1024E-7 = .00002561024
4096E7= 40960000000
11-13

Table of Contents