Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!decwrl!ogicse!uidaho!ted.cs.uidaho.edu!tribe From: tribe@ted.cs.uidaho.edu (Mr Duane Tribe Esq) Newsgroups: comp.sys.atari.8bit Subject: Re: BASIC renumbering program? Summary: Get TurboBASIC XL Keywords: BASIC, renumber Message-ID: <1991Mar01.223250.15316@groucho> Date: 1 Mar 91 22:32:50 GMT References: Sender: @groucho Organization: University of Idaho Lines: 27 Nntp-Posting-Host: cs.uidaho.edu In article , dddean@bluemoon.uucp (David D. Dean) writes: ... >That's why I'm looking for a program that would allow me to easily >renumber my program, and add space between areas that are crammed. ... >See my delema? It is good for the program to actually add more room, but >it is a pain-in-the-neck to have togo back and retrace my program to >re-align my GOTO/GOSUB/RESTORE statements... Turbo BASIC XL has a renumber command: RENUM {first line to change}, {start number}, {increment} It renumbers all references. But watch out for computed GOTO's. A line like 100 GOTO 100+X*10 will be just partially renumbered by "RENUM 100,1000,5" to 1000 GOTO 1000+X*10 Turbo provides logical line number references, better flow control (like REPEAT-UNTIL, IF-THEN-ELSE, etc...) and procedures (withOUT parms or local vars :'-( ), more free memory and about 3 TIMES faster and is FREE on the Atari archive or local BBS so you really should switch! (if you use a non-XL/XE, get "frost" basic instead) -- Duane Tribe (tribe@ted.cs.uidaho.edu) "I request unanimous consent to revise and extend my remarks"