kidtron123
Member
Just wondering if there is a way to access an array using two variables.
One variable would be the tag name while the other would be the index.
Example:
{[PLC]myarray[{[PLC]myindex}]}
I have tried {[PLC]myarray[1]} and that works
myarray is a DINT[100]
myindex is a DINT
One variable would be the tag name while the other would be the index.
Example:
{[PLC]myarray[{[PLC]myindex}]}
I have tried {[PLC]myarray[1]} and that works
myarray is a DINT[100]
myindex is a DINT