For compatibility reasons to other BASIC programs like GWBasic it would be nice to have the RENUM command available for old code with line numbers to reorder the line numbers.
Hi Oliver. I'm a bit confused. Are you aware that there is already a renum command shipped with bwbasic? I'm not sure how to use it, but it's there. Are you saying it is insufficient for what you are trying to do? If so, it would be good if you could explain what is wrong with it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I see that the executable isn't provided in the download folder though. You need to compile it yourself. Alternatively, there is a precompiled binary on the PDOS/386 hard disk image available from http://pdos.org - it is a win32 executable. It's also in customb.zip.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I see, thank you for your answer. Maybe informing the people from the FreeDOS project would be a good thing so they ship BWBASIC with a working RENUM executable in one of their next FreeDOS versions.
On the other side, it would also be nice to have that command in the BWBasic interpreter in the first place.
Last edit: Oliver 2023-03-18
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Oliver. I'm a bit confused. Are you aware that there is already a renum command shipped with bwbasic? I'm not sure how to use it, but it's there. Are you saying it is insufficient for what you are trying to do? If so, it would be good if you could explain what is wrong with it.
Here's a picture of a short example:
The example works in GW-BASIC.
EDIT:
I also added a screenshot of GW-Basic.
Last edit: Oliver 2023-03-18
You have run "renum" instead bwbasic. It is a separate executable.
I understand. But the BWBasic version of FreeDOS 1.3 does not ship with a renum DOS command.
I see that the executable isn't provided in the download folder though. You need to compile it yourself. Alternatively, there is a precompiled binary on the PDOS/386 hard disk image available from http://pdos.org - it is a win32 executable. It's also in customb.zip.
I see, thank you for your answer. Maybe informing the people from the FreeDOS project would be a good thing so they ship BWBASIC with a working RENUM executable in one of their next FreeDOS versions.
On the other side, it would also be nice to have that command in the BWBasic interpreter in the first place.
Last edit: Oliver 2023-03-18
You can tell the Freedos people you would like it included, as an actual user.
I'll leave the feature request open for Howard to comment about including the functionality in the interpreter itself.
Thanks.