Classic Computer Magazine Archive COMPUTE! ISSUE 37 / JUNE 1983 / PAGE 148

How To Type COMPUTE!'s Programs

Many of the programs which are listed in COMPUTE! contain special control characters (cursor control, color keys, inverse video, etc.). To make it easy to tell exactly what to type when entering one of these programs into your computer, we have established the following listing conventions. There is a separate key for each computer. Refer to the appropriate tables when you come across an unusual symbol in a program listing. If you are unsure how to actually enter a control character, consult your computer's manuals.

Atari 400/800
Characters in inverse video will appear like: Enter these characters with the Atari logo key, .

When you see

Type See
{CLEAR}
ESC SHIFT <

Clear Screen
{UP}
ESC CTRL -

Cursor Up
{DOWN}
ESC CTRL =

Cursor Down
{LEFT}
ESC CTRL +

Cursor Left
{RIGHT}
ESC CTRL *

Cursor Right
{BACK S}
ESC DELETE

Backspace
{DELETE}
ESC CTRL DELETE

Delete Charactor
{INSERT}
ESC CTRL INSERT

Insert Charactor
{DEL LINE}
ESC SHIFT DELETE

Delete Line
{INS LINE}
ESC SHIFT INSERT

Insert Line
{TAB}
ESC TAB

TAB Key
{CLR TAB}
ESC CTRL TAB

Clear tab
{SET TAB}
ESC SHIFT TAB

Set tab stop
{BELL}
ESC CTRL Z

Ring buzzer
{ESC}
ESC ESC

ESCape key

Graphics characters, such as CTRL-T, the ball character will appear as the "normal" letter enclosed in braces, e.g. {T .
    A series of identical control characters, such as 10 spaces, three cursor-lefts, or 20 CTRL-R's, will appear as {10 SPACES},{3 LEFT}, {20 R}, etc. If the character in braces is in inverse video, that character or characters should be entered with the Atari logo key. For example, {} means to enter a reverse-field heart with CTRL-comma, {5} means to enter five inverse-video CTRL.-U's.

Commodore PET/CBM/VIC
Generally, any PET/CBM/VIC program listings will contain bracketed words which spell out any special characters:
{DOWN} would mean to press the cursor-down key;
{3DOWN} would mean to press the cursor-down key three times.
    To indicate that a key should be shifted (hold down the SHIFT key while pressing the other key), the key would be underlined in our listing. For example, S would mean to type the S key while holding the shift key. This would result in the "heart" graphics symbol appearing on your screen. Some graphics characters are inaccessible from the keyboard on CBM Business models (32N, 8032).
    Sometimes in a program listing, especially within quoted text when a line runs over into the next line, it is difficult to tell where the first line ends. How many times should you type the SPACE bar? In our convention, when a line breaks in this way, the ~ symbol shows exactly where it broke. For example:

  100 PRINT "TO START THE GAME ~
      YOU MAY HIT ANY OF THE KEYS
      ON YOUR KEYBOARD."

shows that the program's author intended for you to type two spaces after the word GAME.

All Commodore Machines
ClearScreen  {CLEAR}     Cursor Left       {LEFT}
Home Cursor  {HOME}      Insert Character  {INST}
Cursor Up    {UP}        Delete Character  {DEL}
Cursor Down  {DOWN}      Reverse Field On  {RVS}
Cursor Right {RIGHT}     Reverse Field Off {OFF}

VIC/CBM 64 Conventions
Set Color To Black  {BLK}    Function Two    {F2}
Set Color To White  {WHT}    Function Three  {F3}
Set Color To Red    {RED)    Function Four   {F4}
Set Color To Cyan   {CYN}    Function Five   {F5}
Set Color To Purple {PUR}    Function Six    {F6}
Set Color To Green  {GRN)    Function Seven  {F7}
Set Color To Blue   {BLU}    Function Eight  {F8}
Set Color To Yellow {YEL}    Any Non-implemented
Function One        {Fl}     Function        {NIM}

To enter any color code, hold down CTRL and press the appropriate color key. Use CTRL-9 for RVS on and CTRL-0 for RVS off.

8032/Fat 40 Conventions
Set Window Top   {SET TOP} Erase To Beginning{ERASE BEG}
Set Window Bottom{SET BOT} Erase To End      {ERASE END}
Scroll Up        {SCR UP}  Toggle Tab        {TGL TAB}
Scroll Down {SCR DOWN}     Tab               {TAB}
Insert Line {INST LINE}    Escape Key        {ESC}
Delete Line {DEL LINE}


When you see an underlined character in a PET/CBM/VIC program listing, you need to hold down SHIFT as you enter it. Since the VIC-20 and Commodore 64 have fewer keys than the PET/CBM, some graphics are grouped with other keys and have to be entered by holding down the Commodore key. If you see any of the symbols in the left column underlined in a listing, hold down the Commodore key and enter the symbol in the right column. Just use SHIFT to enter all other underlined characters.

! K ← *
1 E
" I
↑ PI
2 R
# T
. S
3 W
$ @
- Z
4 H
% G
= X
5 J
' M
< C
6 L
& +
> V
7 Y
\ -
, D
8 U
; F
/ P
9 I
? B
* N
@ SHIFT*
( £
+ Q
[ SHIFT+
) SHIFT-£
0 A
] SHIFT-

Apple II / Apple II Plus
All programs are in Applesoft BASIC, unless otherwise stated. Control characters are printed as the "normal" character enclosed in brackets, such as {D} for CTRL-D. Hold down CTRL while pressing the control key. You will not see the special character on the screen.

TRS-80 Color Computer
No special characters are used, other than lowercase. When you see letters printed in inverse video (white on black), press SHIFT-0 to enter the characters, and then press SHIFT-0 again to return to normal uppercase typing.

Texas Instruments 99/4
No special control characters are used. Enter all programs with the ALPHA lock on (in the down position). Release the ALPHA lock to enter lowercase text.

Timex TS-1000, Sinclair ZX-81
Study your computer manual carefully to see how to enter programs. Do not type in the letters for each command, since your machine features single-keystroke entry of BASIC commands. You may want to switch to the FAST mode (where the screen blanks) while entering programs, since there will be less delay between lines. (If the blanking screen bothers you, switch to the SLOW mode.)