PhixFlow Help

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Next »

Function: getElement()

Returns the item at a specified index position within an Array or Recordset.

Syntax

  1. getElement(set, index)
  2. set[index]
  3. set.index
Argument Type Description
set Array or Recordset The Array or Recordset to get the result from
index Integer The position of the item in set to be returned.

If index is not a valid entry the function will return _NULL.

Examples

getElement(["Red", "Green", "Blue"], 2)

Returns the 2nd element, "Green".

["Red", "Green", "Blue"].3

Returns the 3rd element, "Blue".

["Red", "Green", "Blue"].8

Returns _NULL.

[].1

Returns _NULL.

See Also

  • No labels