[Prev] [Next] [Contents] [Commodore] [New] [Search] [Home]

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 understanding as to how syntax examples are presented.

<file-num> 50 A logical file number
<device> 4 A hardware device number
<address> 15 A serial bus secondary device address number
<drive> 0 A physical disk drive number
<file-name> "TEST.DATA" The name of a data or program file
<constant> "ABCDEFG" Literal data supplied by the programmer
<variable> X145 Any BASIC data variable name or constant
<string> AB$ Use of a string type variable required
<number> 12345 Use of a numeric type variable required
<line-number> 1000 An actual program line number
<numeric> 1.5E4 An integer or floating-point variable


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. You can 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!

[Prev] [Next] [Contents] [Commodore] [New] [Search] [Home]
This page has been created by Sami Rautiainen.
Read the small print. Last updated May 18, 1998.