60
The
VIC
20
User
Guide
Most programs, however, contain some nonsequential execution se-
quences. That is when line numbers become important, because they are
used
to
identify a change in execution sequence. This may be illustrated as
follows:
Start-l0""",""
Data
C
20
-'
30""",""
40~-'
GOTO
70
50
60
C
70
80-.,.
90--'
The statement
or
statements following a line number specify operations
the computer
is
to perform, as well as
data
that
must be used while perform-
ing these operations.
We
will now describe the types of data you may
encounter in a VIC BASIC program.
There are two kinds of numbers
that
can be stored in VIC computers:
floating point numbers (also called real numbers) and integers.
FLOATING
POINT
NUMBERS
Floating point is the standard number representation used by VIC
computers. All arithmetic
is
done using floating point numbers. The name
refers to the decimal point's ability to float, allowiIlg fractions with different
numbers
of
digits. A floating point number can be a whole number,
or
a
fractional number preceded by a decimal point. The number can be negative
( - )
or
positive
(+).
If
the number has no sign it
is
assumed
to
be positive.
Here are some examples
of
floating point numbers
that
are equivalent to
integers.
5
-15
65000
161
o
Here are examples
of
floating point numbers
that
include a decimal
point.