08-10-2024, 06:00 PM
Quote:Pete - My dislike of using GOTO comes from my early Texas Instrument programming days when we needed to assign line numbers to every line of code. Change the line numbers when editing the code and it often blew up all the GOTO references, which then meticulously needed to be changed, as well.Was it numbered consecutively like this: 1 - 2 - 3 . . . instead of: 5 - 10 - 15 - . . .? In the MS GW-Basic manual it is recommended that it be done this way, with even wider spacing: 10 - 20 - 30 ...
This way, inserting further instructions into the program should not cause any problems. In any case, I did it as recommended.
If you want to experience the old days, there is a good emulator for GW-Basic under Win 10: PC-Basic 2.0 (GW-Basic)
Start pcbasicw.exe. Works great!