Atari 65XE Owner's Manual page 51

Hide thumbs Also See for 65XE:
Table of Contents

Advertisement

INPUT LOOPS
To repeat your conversation with the computer, add a loop command
to the program again. A GOTO statement at the end will make the
computer repeat the program from the beginning. For program
readability, use a REM statement to show where the main
conversation portion of the program begins. A REM (remark) statement
functions like a label for the programmer. The computer does not
carry out REM commands but only prints them when you list your
program.
100 REM *** CONVERSATION LOOP ***
240 GOTO 100
The computer must return to line 100, rather than line 10, because it
cannot go back over the DIM statements for string variables. If it loops
over the same DIM statements, you will receive an Error message.
46

Advertisement

Table of Contents
loading

Table of Contents