Results 1 to 5 of 5

Thread: Quick, maybe stupid question...

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 1999
    Location
    Calgary Alberta
    Posts
    359

    Post

    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. :-(

  2. #2
    Hyperactive Member
    Join Date
    Oct 1999
    Posts
    309

    Post

    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).]

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 1999
    Location
    Calgary Alberta
    Posts
    359

    Post

    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.

  4. #4
    Hyperactive Member
    Join Date
    Oct 1999
    Posts
    309

    Post

    Maybe stuff gets declared once something tries to reference it..

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 1999
    Location
    Calgary Alberta
    Posts
    359

    Post

    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
  •  



Click Here to Expand Forum to Full Width