BASIC Utility for Renumbering Programs (BURP)

(Recommended for BASIC programmers/Written in BASIC)

This renumbering routine has several advantages over RENUM (and others written for ATARI BASIC). First, because it operates in RAM along with your BASIC program, you can use BURP with both cassette and diskette systems. Second, BURP is faster than RENUM. Moreover, you can merge BURP with your RAM-resident BASIC program at any time, not just at the start of working on your program. Both RENUM and BURP can handle line references (e.g., GOTOs, GOSUBs, TRAPs), as well as variables and arithmetic expressions used as line number references. Like RENUM, BURP prompts you for the new starting line number and the desired increment value. You then enter a direct mode GOTO 32500, referencing the BURP routine, and the program does the rest. BURP uses line numbers 32500-32761. The program also uses 40 variables. The diskette version contains both a fully commented BURP, which lets you study the program’s logic, and a mashed BURP, which uses less RAM. The cassette version contains only the mashed program, but the user manual contains a listing of the fully commented program.

The author invites written questions and comments.


BURP should meet most of your renumbering needs. However, because it takes up 3.9K of RAM and uses 40 variables, you might not be able to use it with very large programs (you can use RENUM, however). RENUM can renumber sections of programs as well as whole programs, whereas BURP works only on whole programs.

The user manual is EXCELLENT; it includes a detailed discussion of the program’s logic.

Cassette (410) APX-10046, Diskette (810) APX-20046


BASIC Utility for Renumbering Programs (BURP) Mentions...

APX, Issue: 02 – Fall, 1981
Advert on page 33, $11.25