I declared a global constant in the dat file of one module. It is recognized in a second module in the directory, but not a third.
All files in this post are in the /R1/System folder.
In spsDigIO.dat:
GLOBAL CONST INT DIGOUT_ACTIVE_INT = 48
In sps.sub:
$OUT[DIGOUT_ACTIVE_INT] = TRUE
No error.
In spsMode.src:
$OUT[DIGOUT_ACTIVE_INT] = TRUE
"The declaration of the variable 'DIGOUT_ACTIVE_INT' was not found."
I must be missing something simple. What?