I gather the version of Basic is not Object-Oriented.
So the program most likely is flat: a bunch of global variables (and possibly memory addresses), and instructions ordered by line number, rather than functions or methods.
So the program most likely is flat: a bunch of global variables (and possibly memory addresses), and instructions ordered by line number, rather than functions or methods.
No line numbers except for goto labels, but gosub is the challenge for transpilation.
(However it wouldn't surprise me if older 'line number' programs still mostly worked. iirc VB6 also supported this.)
Maybe I missed it, but are you still using the Powerbasic compiler or have you worked around that somehow?