home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
basic
/
tools
/
reref
/
rerefbas.doc
next >
Wrap
Text File
|
1987-05-02
|
2KB
|
55 lines
REREFBAS
Written by Frank Bonita
Copyright 1987 by PATHALOGIAL SOFTWARE
REREFBAS is a utility for manipulating lines of code within a BASIC program.
A block of lines may be renumbered even if internal.
A block of lines may be relocated within the program.
The program must be in ASCII format and have a line number at the beginning
of each line.
A range of source line numbers is defined.
A range of destination line numbers is defined.
A step value is defined.
The source range of lines is moved to the destination range and renumbered
according to the step value. Internal and external line number references are
resolved and replaced. The entire program is then written to a file named
"REREF.BAS". The original program is read only and not altered.
Source and destination blocks may overlap for purposes of renumbering an
internal range of line numbers but both ranges should contain the same lines.
If existing program lines are found to be within the destination block,
they are noted and saved, for convenience, in a file name "REREF.DBL".
Program references to non-existent lines are reported and should be noted.
Care should be taken to avoid moving blocks whose last line does not end with
a "RETURN" or a statement which directs program flow to another line number.
A vehicle for executing a DOS command is provided at the completion of this
program and if the source program is not found.
NOTICE!
"REREFBAS" may be used only for non-commercial.
No fee is to be charged for copying or distributing the program without written
permission PATHALOGICAL SOFTWARE.
Disclaimer:
This program is provided "as-is" without warranty of any kind, either expressed
or implied, including, nor shall the author or PATHALOGICAL SOFTWARE be
liable for any damages, direct or consequential, sustained by use of this
program.
Inquiries may be directed to:
Frank Bonita
c/o PATHALOGICAL SOFTWARE
1375 Kansas Circle
Concord, CA. 94521