S Spacewalker Member Licensed User Longtime User Nov 9, 2012 #1 When using public\global vars and subs I need a prefix, so for example I must type: myCodeModule.sub1 Maybe it would be a nice feature to add a new module type, something like add new module - "public subs\var module" Everything that is declared in such a "public subs\var module" can be accessed in the whole project without any prefix (Alternativly : everything that is explicitly declared as "public sub" should be accessible without a module prefix) (Perfectly : everything that is declared in "process_globals" should be accessible without a module prefix) Heinz
When using public\global vars and subs I need a prefix, so for example I must type: myCodeModule.sub1 Maybe it would be a nice feature to add a new module type, something like add new module - "public subs\var module" Everything that is declared in such a "public subs\var module" can be accessed in the whole project without any prefix (Alternativly : everything that is explicitly declared as "public sub" should be accessible without a module prefix) (Perfectly : everything that is declared in "process_globals" should be accessible without a module prefix) Heinz
J Jost aus Soest Active Member Licensed User Longtime User Nov 10, 2012 #2 +1 Nice ideas! That would help me a lot in writing reusable code.
NeoTechni Well-Known Member Licensed User Longtime User Nov 14, 2012 #3 I dont think its possible, as the system is setup to create variables it doesnt find. I actually prefer it doesnt support this, it prevents unwanted conflicts
I dont think its possible, as the system is setup to create variables it doesnt find. I actually prefer it doesnt support this, it prevents unwanted conflicts
J Jost aus Soest Active Member Licensed User Longtime User Nov 15, 2012 #4 NeoTechni said: I actually prefer it doesnt support this Click to expand... If you don't want a feature, just don't use it!
NeoTechni said: I actually prefer it doesnt support this Click to expand... If you don't want a feature, just don't use it!