|
-
Dec 5th, 1999, 11:03 PM
#1
Thread Starter
Hyperactive Member
I dont' have any of my reference books etc here, so here's my question: In a project that has several module files, all with global variables and / or constants set in them, what order are they loaded when the project is run? And yes, I'm still going through that jerks useless/noncommented code. :-(
-
Dec 5th, 1999, 11:24 PM
#2
Hyperactive Member
pfew, I never heard this one before....
Maybe you need to use the debugger.... press F8 a few times to see what happens while your project is open...
This won't show you in what order the constants and globals are loaded though (if there even is such a process)...
If you ask me it doesn't really matter...
there unique... Try to declare more than one and you'l get "Ambiguous name detected"
[This message has been edited by Inhumanoid (edited 12-06-1999).]
-
Dec 5th, 1999, 11:28 PM
#3
Thread Starter
Hyperactive Member
I have no idea. But I do know that in one module, a TYPE is declared and then in a different module, that TYPE is referenced. It almost makes me assume that the modules are loaded in the order that they appear in the Project Explorer. But I don't know at all.
-
Dec 5th, 1999, 11:31 PM
#4
Hyperactive Member
Maybe stuff gets declared once something tries to reference it..
-
Dec 5th, 1999, 11:32 PM
#5
Thread Starter
Hyperactive Member
That could be. I'm sure I read about it somewhere, I just can't remember where. I guess I'll have to wait until I get home.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|