Question:
How can I use an internal tag as vector (Array)?
Solution:
To save a vector in an internal tag, you must use the following script:
Dim list(2)
list(0) = 11
list(1) = 22
list(2) = 33
Application.GetObject(“InternalTag1”).Value = list
To access this vector’s values, use the script below:
dim x
x = Application.GetObject(“InternalTag1”).Value
MsgBox x(1)
x = Application.GetObject(“InternalTag1”).Value
MsgBox x(1)
Obs.: Attached to this article is a sample application developed with E3 version 3.1 Build 270.