I've defined some constants in my main program, put when I call another procedure and reference the constant I get the error "variable not found". My understanding is you define the constant once and it should be available thoroughout the program.
I've checked syntax and even moved the code to the main procedure where it works fine, but still it does not work in the called procedure.
What's up with that?