I have found bugs / limitations in all the renumbering programs on the
Club100 site, including the Compuserve Archive. Biggest problem with these
programs is they will only act on a ASCII BASIC source file (.DO), so you
can easily run into RAM space limitations depending on the size of your
source file. And some won't renumber comment lines starting with the
"single quote" shortcut and others won't renumber comment lines at all.

The best renumbering function (that works the closest to the full Microsoft
BASIC's) is the one contained in the ROM2 Option ROM. But it too has the
limitation that it cannot renumber a source range to a destination range
that is greater than the last line number of the source file. i.e.:

100 xxxxxxxx

110 xxxxxxxx

120 xxxxxxxx
.

.
200 xxxxxxxx

210 xxxxxxxx

220 xxxxxxxx
.

.
.

999 END


  The range 200-220 cannot be renumbered to 1000-1020, but CAN be
renumbered to 800-820 if line numbers 800-820 do not currently exist. This
is sometimes frustrating for me, as I block my routines in ranges and
sometimes need to move something past the current last line number.

  The workaround for this is to add a line "65534 END" to the program when
developing, and then remove it when done.

  The best thing about it is that it will act upon the .BA file directly
(in-line) from within BASIC. If using the TEXT Editor to write your
program, just exit back to BASIC, "CALL 911", then type the "RN" command to
set your ranges.

Regards,

Peter


> ------------------------------
>
> Message: 7
> Date: Thu, 17 Jun 2021 12:21:02 -0400
> From: Stephen Adolph <[email protected]>
> To: [email protected]
> Subject: Re: [M100] feature to add to REX#/REXCPM - renumbering BASIC
> Message-ID:
>         <
> camcmnv4+ng94c3nfyqxjphhwjdbs9-h-sjqdsu+s6ghy2vf...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> that is true, yes.  ROM2 does include that plus some other nice things.
>
> <snip>

Reply via email to