Adding line numbers to vintage BASIC code
Posted: Wed May 17, 2017 6:28 pm
Hi,
I'm going through some old engineering problems that use vintage BASIC for their solutions (the kind where every statement needs a line number). I'm trying to work out a way to have TextPad automatically insert a line number for every statement in my code. Is this possible using search/replace and regular expressions? Or maybe there is a macro someone has made to do this? The code starts off without any line numbering at all.
Thanks for the help.
I'm going through some old engineering problems that use vintage BASIC for their solutions (the kind where every statement needs a line number). I'm trying to work out a way to have TextPad automatically insert a line number for every statement in my code. Is this possible using search/replace and regular expressions? Or maybe there is a macro someone has made to do this? The code starts off without any line numbering at all.
Thanks for the help.