I have an Activity module which is giving me an unusual error when I test compile.
In Globals I declare an array:
Dim Data(512) As Double
In Activity_Create I have the following code:
Dim i as Int
i = 0
Data(i) = 128 : i = i + 1
...
When I click on Test Compilation I get the following error:
Error parsing program.
Error description: Use of undeclared array: data
Occurred on line: 35
Data(i) = 128 : i = i + 1
I am baffled - can anyone help me?
Update:
Don't know why that was happening, but I rename Data to Datum and the Test Compilation worked just fine... ???
In Globals I declare an array:
Dim Data(512) As Double
In Activity_Create I have the following code:
Dim i as Int
i = 0
Data(i) = 128 : i = i + 1
...
When I click on Test Compilation I get the following error:
Error parsing program.
Error description: Use of undeclared array: data
Occurred on line: 35
Data(i) = 128 : i = i + 1
I am baffled - can anyone help me?
Update:
Don't know why that was happening, but I rename Data to Datum and the Test Compilation worked just fine... ???
Last edited: