04-21-2023, 07:08 PM
I don't know how you code. But if you put subroutines at the end please put a lonely "END" or "SYSTEM" statement to define the end of the main program!
If you use $CONSOLE:ONLY then SYSTEM should do it if you don't want the "Press enter to continue" prompt. Otherwise use END.
Trying to use CLEAR just causes trouble anyhow. That statement should be deprecated and made unavailable for anything.
If you put subroutines mingling with other parts of the main program code then I don't know what to tell you. There are no more excuses for spaghetti code much later than the 1980's.
If you use $CONSOLE:ONLY then SYSTEM should do it if you don't want the "Press enter to continue" prompt. Otherwise use END.
Trying to use CLEAR just causes trouble anyhow. That statement should be deprecated and made unavailable for anything.
If you put subroutines mingling with other parts of the main program code then I don't know what to tell you. There are no more excuses for spaghetti code much later than the 1980's.