Post Reply 
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??
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Loading Program with multiple interdependent Sub Routines - bobkrohn - 05-09-2022 06:57 PM



User(s) browsing this thread: 1 Guest(s)