I am trying to create a single file for all the constants I'll need and refer to them in all the other files.
I created a GlobalVars.kl file that looks like
I created a QuickTest.kl that looks like:
PROGRAM QuickTest VAR maxSize FROM GlobalVars : INTEGER BEGIN WRITE('maxSize: ',maxSize,CR) END QuickTest
Both files compile fine, but when I run quicktest.pc, I get:
Intp-311 (Quick_Test, 7) uninitialized data is used.....abort all
How do I accomplish this?