Renumber

by John Owen

 

 

Issue 12

Nov/Dec 84

Next Article >>

<< Prev Article

 

 

Here is a simple routine, written in machine code for speed, that will renumber lines in your BASIC program. The renumber does not tackle line numbers embedded in statements so you will have to renumber these yourself. The best technique is to use variable names for line numbers such as MOVE=50: GOTO MOVE.

To use, simply LIST this program to disk or cassette and then ENTER it with your program in memory. It will attach itself to the end of your program. Type GOTO 32758 and give the starting line and line increment that you wish your program to be renumbered to and sit back and wait a few seconds. If you want to use the routine a second time type GOTO 32759 to prevent CODE$ being DIMensioned again.

AtariLister - requires Java

top