Do modules have a separate namespace ?
I have tried to use a module twice just keeping the same code.
I want·to have the same initialization and configuration routines in both modules.
Each module launches an ASM routine with a call to cognew that is different for each module.
All functions and names are the same on both modules.
It compiles ok but it does not work. If I remove one of the modules the other works okay.
So, I am guesing there is some relation between both modules.
Are the names (functions, vars, labels, etc) separate spaces for each module ?
I want·to have the same initialization and configuration routines in both modules.
Each module launches an ASM routine with a call to cognew that is different for each module.
All functions and names are the same on both modules.
It compiles ok but it does not work. If I remove one of the modules the other works okay.
So, I am guesing there is some relation between both modules.
Are the names (functions, vars, labels, etc) separate spaces for each module ?
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.