noshutdown wrote:i assume its gwbasic3.23 that works with line numbers.
Possibly. I used v3.11 for a very long time.
noshutdown wrote:
after that its replaced by qbasic and although it still supports line numbers, they have nothing to do with the order of the lines being executed.
You're right, it seems. Just checked in QB 4.5.
May I ask why you require BASIC to sort the order of line numbers ? 😕
I'm curious, because what you're asking for is against what MS originally had intended (when moving to modern BASIC).
Microsoft even released a tool, REMLINE.BAS, that helped to get rid of line numbers.
Back in time, it was assumed that programs using them were written -or at least saved with-
the help of GW-BASIC/BASICA, which in turn did the number sorting beforehand.
For maximum compatibility, QB even has a parameter, QB /MBF,
to support the old MBF math format.
BASCOM2, I heard, also drew out support for processing code by the order of line numbers.
That beeing said, it's still possible to use a more traditional BASIC flavor
with the help of emulators for diverse platforms.
Personally, I used to run my faher's copy of MBASIC on a Z-80 emulator, Zemu,
that could run a real copy of CP/M of CP/M and display the ouput on
either a virtual teletype or a CRT console.
"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel
//My video channel//