Click to See Complete Forum and Search --> : Quick, maybe stupid question...
netSurfer
Dec 5th, 1999, 10:03 PM
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. :-(
Inhumanoid
Dec 5th, 1999, 10:24 PM
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).]
netSurfer
Dec 5th, 1999, 10:28 PM
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.
Inhumanoid
Dec 5th, 1999, 10:31 PM
Maybe stuff gets declared once something tries to reference it..
netSurfer
Dec 5th, 1999, 10:32 PM
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.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.