EasyManua.ls Logo

Commodore 128 - Rules for Typing BASIC Language Programs

Commodore 128
448 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...
To display the graphic character on the left front face of a key,
hold down the O key while you press the key that has the
graphic character you want. You can display the left graphic
character while the keyboard is in either character set.
Rules for Typing BASIC Language Programs
You can type and use BASIC language programs even without
knowing BASIC. You must type carefully, however, because a
typing error may cause the computer to reject your information.
The following guidelines will help minimize errors when typing or
copying a program listing.
1. Spacing between words is not critical; e.g., typing
FORT=1 T010 is the same as typing FORT=1 TO 10.
However, a BASIC keyword itself must not be broken up by
spaces. (See the BASIC 7.0 Encyclopaedia in Chapter V for a
list of BASIC keywords).
2. Any characters can be typed inside quotation marks. Some
characters have special functions when placed inside
quotation marks. These functions are explained later in this
Guide.
3. Be careful with punctuation marks. Commas, colons and
semicolons also have special properties, explained later in this
section.
4. Always press the RETURN key (indicated in this Guide by
= ul iu iin I ) after completing a numbered line.
5. Never type more than 160 characters in a program line.
Remember, this is the same as four full screen lines in 40-
column format, or two full screen lines in 80-column format.
See Section 8 for more details on 40- and 80-column formats.
6. Distinguish clearly between the letter I and the numeral 1 and
between the letter O and the numeral 0
7. The computer ignores anything following the letters REM on a
program line. REM stands for REMark. You can use the REM
statement to put comments in your program that tell anyone
listing the program what is happening at a specific point.
Follow these guidelines when you type the examples and
programs shown in this section.
3-11

Table of Contents

Other manuals for Commodore 128

Related product manuals