|
Assigns a structure recordname for a mulidimensional array or structure. See
Structures are used to store multiple values in a single variable. If a value is assigned to a member that did not previously exist, the entry will be created. Attributes
Only allowed between <MvASSIGNARRAY> and </MvASSIGNARRAY>. Structured ArraysIt's often more convenient to refer to tabular data by name rather than number. Structures are name based collections of variables.
Example:<MvASSIGNARRAY NAME = "l.agents" VALUE = "Fox"> <MvDIMENSION INDEX = "1"> <MvMEMBER NAME = "First"> </MvASSIGNARRAY> <MvASSIGNARRAY NAME = "l.agents" VALUE = "Mulder"> <MvDIMENSION INDEX = "1"> <MvMEMBER NAME = "Last"> </MvASSIGNARRAY> <MvASSIGNARRAY NAME = "l.agents" VALUE = "Special Agent"> <MvDIMENSION INDEX = "1"> <MvMEMBER NAME = "Title"> </MvASSIGNARRAY> and so on. <MvEVAL EXPR="{ l.agents[3]:title }"><br> result: Assistant Director EvaluationArray elements can be accessed by specifying an array index in square brackets. "{ l.array[n] }" Members are specified using the colon as a prefix. { l.email:subject } |