...
Argument | Type | Description |
---|---|---|
set | Array or Recordset | The array or recordset to get the result from. |
index | Integer | The position of the item in the array to be returned. If index is not a valid entry, the function returns:
An invalid index is outside the array or recordset. Index positions start at 1, so 0 is an invalid index. |
default_value | any type | Optionally, a default value to return instead of _NULL if the index is not valid. |
If there is only one item in the set, getElement treats it you use getElement on a single value, PhixFlow treats the value as the first item in an array.
...
will return the same as in.CustomerNames, if $attributeName is set to the string value $attributeName = "CustomerNames".