Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

Illegally dimensioned aliased name, CR1000X/CRBasic


DavidT_Q-Lab May 7, 2025 07:39 PM

Currently converting a program that was on a CR10X to run on a CR1000X.  The program has been converted to CRBasic but when I complie it I get many errors and that is to be expected.

I have fixed many of the errors but this one is confusing me.   

Error: 

Line 629: Illegally dimensioned aliased name

Line 630: Illegally dimensioned aliased name

Source Code:

 627     'These counters store the data from the pulse inputs P1 and P2.

628     Public PulseCounters(2)
629     Alias PulseCounters(P1)=EmergencyBtnPulse 'P1
630     Alias PulseCounters(P2)=MirrorWashPulse 'P2

Log in or register to post/reply in the forum.