Re: Constants and modules
Posted: Fri Jul 17, 2015 12:21 pm
As far as i know, there is no other option. If you want to define a constant/variable/etc globally for all modules, then you have to put these constants, etc inside another module. The only exception are the predefined PB constants, functions, and so on.mestnyi wrote: But the question remains , if not how to be placed ?
The problem in your second example is, that there is a name conflict, if you use "UseModule", because #Test is already defined in the global namespace.
When I work with modules, then the entire code is in modules.