Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!lll-winken!ncis.tis.llnl.gov!dog.ee.lbl.gov!hellgate.utah.edu!csn!magnus.ircc.ohio-state.edu!news From: fseipel@hpuxa.ircc.ohio-state.edu (Frank E. Seipel) Newsgroups: comp.sys.atari.8bit Subject: Basic Relocator (Line Renumbering) Message-ID: <1991Mar2.045740.23752@magnus.ircc.ohio-state.edu> Date: 2 Mar 91 04:57:40 GMT Sender: news@magnus.ircc.ohio-state.edu Organization: The Ohio State University Lines: 90 Originator: fseipel@hpuxa.ircc.ohio-state.edu Nntp-Posting-Host: hpuxa.ircc.ohio-state.edu Here is the description of my line renumbering program, from the A.C.E.C. BBS @ (614)-471-8559: 26/2/89 C45:Relocatr Written by yours truly. Program to relocate a BASIC LISTed file. Will renumber the file. User inputs starting line of new file, line increment. All GOSUB/GOTO/RESTORE/TRAP/ON GOSUB/ON GOTO statements are adjusted so that the new listing runs as-is. Also works with assembly language files. Handy for making listings for readable and creating space for modifications in a crowded program. Also useful for putting together two subroutines which previously existed in the same range of lines. Writes out another listed file; use ENTER to load output file. -Frank Seipel Use uudecode to uncompact file. ---------------------cut here-------------------------------- begin 0666 RELOCATE.BAS M 4T!3@'^ 3$,0 Q33U520T6D1$535*1,3J1414U0I%135*1,24Y%4ZA! M4\U35$%2U$Q)3L-43U1,24Y%TTS.R4/,5$53U,K4TTQ.51M+-H8M#D ! !:T #T&(!0I( \>16YT M97(@;F5W('-T87)T:6YG(&QI;F4@;G5M8F5R%# @#P$^%10] AP.0!8 M$H<6O@ W!B 4(R /&$5N=&5R(&YE=R!L:6YE(&EN8W)E;65N=!0J( \!/A44 M-P(<#D 6 !*(%L@ *@Y!!) 4*A<<#D ! !(.0 0 $@X M 2@!;2 !D.00)0 %!DVB2T. %MP $! "' Y 0 2 M@A;F "47-H4XB24.0 $ +"U!.H(L%"4VB2V))0Y 0 6\ *#D$" M( !;Z " .$1P.0 $ %" ?#D$'4@ !(.0 $ %@0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