Programming examples in this book are shown with blanks separating
words and operators
for the sake of readability.
Normally though,
BASIC doesn't require blanks between words unless leaving them out
would give you an ambiguous
or incorrect syntax.
Shown below are some examples
and descriptions
of the symbols
used for various statement parameters
in the following chapters. The list
is not meant to show every possibility, but to give you a better under-
standing as to how syntax examples
are presented.
DESCRIPTION
A
logical file number
A hardware
device number
A serial bus secondary
device address
number
A physical disk drive number
The name of a data or program file
Literal data supplied by
the programmer
Any BASIC data variable name or
constant
Use of a string type variable required
Use of a numeric type variable
required
An actual program line number
An integer or floating-point
variable
COMMODORE 64 APPLICATIONS GUIDE
When you first thought about buying a computer you probably asked
yourself, "Now that I can afford to buy a computer, what can I do with
it once I get one?"
The great thing about your COMMODORE 64 is that you can make it
do what YOU want it to do! You can make it calculate and keep track of
home and business budget needs. You can use it for word processing.
You can make it play arcade-style
action games. You can make it sing.
Youcan even create
your
own animated cartoons, and more. The best
part of owning
a COMMODORE 64 is
that even if it did only one of the
things listed below it would be well worth the price you paid for it. But
the 64 is a complete computer and it does do
EVERYTHING
listed and
then some!
xii
INTRODUCTION
SYMBOL
EXAMPLE
<file-num>
50
<device>
4
<address>
15
<drive>
0
<file-name>
"TEST. DATA"
<constant>
" ABCDEFG"
<variable>
X145
<string>
AB$
<number>
12345
<line-number>
1000
<numeric>
1.5E4
Need help?
Do you have a question about the Commodore 64 and is the answer not in the manual?
Questions and answers