Loading Program with multiple interdependent Sub Routines
|
05-09-2022, 06:57 PM
Post: #1
|
|||
|
|||
Loading Program with multiple interdependent Sub Routines
I developed a rather large program. It has about 100 Sub Routines. Many are interdependent. One Sub Calls another that Calls another. No problems as I developed the main Program. However, after doing a Reset I tried loading all the Subs and that’s when I made the horrible discovery that when you load a Sub it checks for all the Calls and if those Calls refer to other Subs that have not been loaded yet, then the Sub won’t Load! It’s a “Catch-22”.
Why won’t it allow you to Load everything THEN check the Calls? I don’t really want to combine ALL the Subs into one big file because… 1) Makes debugging and editing a slow nightmare 2) Want Subs to be available to other Programs. Ideas?? |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Loading Program with multiple interdependent Sub Routines - bobkrohn - 05-09-2022 06:57 PM
RE: Loading Program with multiple interdependent Sub Routines - Tim Wessman - 05-10-2022, 05:28 AM
RE: Loading Program with multiple interdependent Sub Routines - bobkrohn - 05-12-2022, 08:42 PM
|
User(s) browsing this thread: 1 Guest(s)