Code: Select all
XIncludeFile "myGUI_3v1.pbi"
With Modules I have to do that:
Code: Select all
XIncludeFile "myGUI_3v1.pbi"
UseModule myGUI
Code: Select all
UseModule myGUI "myGUI_3v1.pbi"

Thanks for reading.
Code: Select all
XIncludeFile "myGUI_3v1.pbi"
Code: Select all
XIncludeFile "myGUI_3v1.pbi"
UseModule myGUI
Code: Select all
UseModule myGUI "myGUI_3v1.pbi"
Code: Select all
Macro UseModuleLazy(name,file)
XIncludeFile file
UseModule name
EndMacro
If I am asking to include a PBI file in my program,fsw wrote: In the future it would be awesome to allow this:Code: Select all
UseModule myGUI "myGUI_3v1.pbi"
Considering there are two ways to access a module: UseModule and "nameofthemodue::object" and the fact they have very different implications the idea of always applying a "UseModule" to every module included it's a very bad one.blueb wrote: If I am asking to include a PBI file in my program,
I think everything inside the PBI file, such as Modules
should be usable in my program.
That's why I'm including the file in my code.
I shouldn't have to state the obvious.![]()