Array variable access
Ray0665
Posts: 231
if a sub module defines a constant as
Con
#0, one,two,three,four
I can access an array element using that definition like this
somevariable[submodule#two]
But if the constant is defined in the top module
Con
#0, one,two,three,four
how do I access the array element in a sub module
somevariable[????????]
Con
#0, one,two,three,four
I can access an array element using that definition like this
somevariable[submodule#two]
But if the constant is defined in the top module
Con
#0, one,two,three,four
how do I access the array element in a sub module
somevariable[????????]
Comments
After posting I was thinking that perhaps I could put the constants in a separate module and then access in the standard way.
but I really don't like that, as a personal prejudice.