08-09-2024, 04:16 PM
I use subs almost exclusively for a major portion of a routine and the sub could easily be made into a stand along routine like a popup window. So even if there is only one call to the routine, I'll still make it as a subroutine, rather in code it inline. I use GOSUB for any short duplicated routine. If I had a help program that needed several places in the code to print "My Assistant found this to be your best possible solution: " well, that would be coded as: GOSUB MyAss
Pete
Pete
Shoot first and shoot people who ask questions, later.