Home Page


BASIC Handbook

Basic2 Commands
Disk Drives
PEEK's and POKE's
RAM Memory Map
ROM Memory Map
Screen Display
Sprite
ASCII and CHR$ Codes

eMail
email5-commodorecheetah.co.uk

Note: You will need to replace the '-' with the @ symbol.
This is to minimize spam.

My BASIC Quick Reference Guide

CONT
Abbreviation: C <SHIFT+O>

TYPE: Command
FORMAT: CONT

Action: This command re-starts the execution of a program which was halted by a STOP or END statement or the <RUN/STOP> key being pressed. The program will restart at the exact place from which it left off.

While the program is stopped, the user can inspect or change any variables or look at the program. When debugging or examining a program, STOP statements can be placed at strategic locations to allow examination of variables and to check the flow of the program.

The error message CAN'T CONTINUE will result from editing the program (even just hitting <RETURN> with the cursor on an unchanged line), or if the program halted due to an error, or if you caused an error before typing CONT to restart the program.

EXAMPLE of CONT Command:

10 PI=0:C=1
20 PI=PI+4/C-4/(C+2)
30 PRINT PI
40 C=C+4:GOTO 20

This program calculates the value of PI. RUN this program, and after a short while hit the <RUN/STOP> key. You will see the display:

BREAK IN 20 NOTE: Might be different number.

Type the command PRINT C to see how far the Commodore 64 has gotten. Then use CONT to resume from where the Commodore 64 left off.


Commodore Cheetah made by Allen Monks, started in the year 2000.