Issue
Referring to a local array by name in Plain English references data element one ([1]) instead of data element zero ([0]) as is the case when the array is a global point or value.
In the example below, setting theArray and setting theArray[1] is actually the same, the value 10 is overwritten by the value 20
Environment
Enterprise Server - ES
Automation Server - AS
CyberStation
CX
b3
i2
Cause
Function as designed.
Resolution
Function as designed.
This is the way Plain English works, the ability to access data element one ([1]) by just naming the array is provided for convenience.