Software Tips

Author(s): Mark Freitas
Publication: Syntax
Pub Details: Syntax/Syntax ZX80 v3 n4 (Volume 3, Issue 4)
Date: April 1982
Pages: 18

To save multiple copies of your program, make these the last two program lines:

9998 SAVE "program name"
9999 GOTO 9998

Enter GOTO 9998 and your program will be saved many times. Hit BREAK to stop.

To run immediately after loading, add these last two lines:

9998 SAVE "program name"
9999 GOTO 1

This works only if you have no STOP statements. If a STOP statement is necessary, enter these lines:

9996 POKE (memory location of the REM in line 9997),227
9997 REM

Change all STOP statements to GOTO 9996. This way your program won’t have a STOP until after running. Make sure line 9997 has REM and type GOTO 9998 to save.