Using CitectSCADA > Genies and Super Genies > Super Genies > Using Constants and Arrays with Super Genies
Arrays

Super Genies can accept array elements or entire arrays as substitution. Passing an element of an array is straightforward, and is done by reference to the element, as shown here:

AssPopUp("MyPopUp", "DigArray[42]");

To pass an entire array to a Super Genie, only the array name is used. For example:

AssPopUp("MyPopUp", "DigArray");

To pass an entire array to a Super Genie, configure it to accept the array instead of a single value. Use the following syntax for the Super Genie substitution string:

?<Data Type><Substitution String>? [<element>] 
		

Only arrays of data type DIGITAL, INT, REAL, and LONG are supported.

See Also

Using array offsets