double mint... two module wishlist...
Posted: Mon May 13, 2024 7:54 pm
Modules seperate a lot out (constants, structures, variables, etc) from "the program" and "the module" - include files should also be counted separately... ie: xincludefile should not know about xincludefiles outside of the module (and visa-versa); likewise, includefile in a module should not affect xincludefile outside of the module (and visa-versa)
I use a lot of modules & shared source files (procedures/headers) and seem to bump into compatibility problems with this.
Can we have a #pb_compiler_in_module to know when an include file is w/in a module?
Reason is I had a few files that were also part of a DLL, so they had "procedureDLL" in them, but when included in a module, this generates an error.
Less appealing is to allow ProcedureDLL in a module, but just treat it as a regular procedure. I think there would be value added knowing if an include file is w/in a module or not, not just for procedure definitions.
I use a lot of modules & shared source files (procedures/headers) and seem to bump into compatibility problems with this.
Can we have a #pb_compiler_in_module to know when an include file is w/in a module?
Reason is I had a few files that were also part of a DLL, so they had "procedureDLL" in them, but when included in a module, this generates an error.
Less appealing is to allow ProcedureDLL in a module, but just treat it as a regular procedure. I think there would be value added knowing if an include file is w/in a module or not, not just for procedure definitions.