PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: David Martin on March 17, 2005, 09:10:56 AM

Title: Module Load Order
Post by: David Martin on March 17, 2005, 09:10:56 AM
It would be nice if we could specify the order that Modules are loaded from within the Project Explorer.

Thanks,
Title: Module Load Order
Post by: TechSupport on March 17, 2005, 10:37:17 AM
What benefit would that give you? Maybe I am missing your reason for doing this. Do you mean the order in which they appear in the TreeView of the Project Explorer???
Title: Module Load Order
Post by: David Martin on March 17, 2005, 11:12:51 AM
Yes, that is what I mean.

I am assuming that is the order they are loaded into the program.

Some files need to be loaded before others as they have items defined within them that are dependent on the other.
Title: Module Load Order
Post by: TechSupport on March 17, 2005, 11:25:41 AM
Quote from: David MartinSome files need to be loaded before others as they have items defined within them that are dependent on the other.
FireFly does a scan of Forms and Modules and sucks out all of the sub/function declares. It then places them in a FireFly generated "declares" file. That file is placed in the generated source code immediately before any user defined module. That way, the user does not need to be concerned with the module ordering.
Title: Module Load Order
Post by: David Martin on March 17, 2005, 11:32:55 AM
Ok.  Thanks.
Title: Module Load Order
Post by: Chris Cullen on March 17, 2005, 11:38:03 AM
And how we LOVE that feature!!

:)