Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Through traffic or no?
#1
Back in the Stone Age, when computers did not have clocks in the taskbar, I made my own clock routine to display the time. The problem was it needed to be constantly looped to keep the time displayed accurately. To accomplish this, I made all my sub-routines flow-through routines. No matter how nested the routines became, the program always flowed back to and cycled through the main. Now that was a PITA when it came to variable management, but at least I didn't have to place a clock call in every sub-routine that had loop routines. 

How about the rest of you folks; what method do you prefer to use for large projects when it comes to keeping the flow in each routine or always passing control back through the main? Currently I favor avoiding flow-through routines.

Pete
Reply


Messages In This Thread
Through traffic or no? - by Pete - 12-02-2024, 02:05 AM
RE: Through traffic or no? - by Petr - 12-02-2024, 01:45 PM
RE: Through traffic or no? - by Pete - 12-02-2024, 04:28 PM
RE: Through traffic or no? - by SMcNeill - 12-02-2024, 04:50 PM
RE: Through traffic or no? - by Pete - 12-02-2024, 06:17 PM
RE: Through traffic or no? - by JRace - 12-02-2024, 09:08 PM
RE: Through traffic or no? - by Pete - 12-02-2024, 10:39 PM
RE: Through traffic or no? - by JRace - 12-02-2024, 11:46 PM
RE: Through traffic or no? - by Pete - 12-03-2024, 12:17 AM



Users browsing this thread: 1 Guest(s)