PhixFlow Help

Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

Version 1 Next »

Function: countElements()

Returns the number of elements in an Array or Recordset.

Syntax

countElements(list)

Argument Type Description
list Array or Recordset The object to be counted.

Examples

countElements(lookupPipe)

Returns the number of rows in the Pipe referenced by lookupPipe.

$userArray = split(in.users,","), $numUsers = countElements($userArray)

in.users is a list of user names separated by commas. The split() function converts this into an Array and countElements() returns the number of users.

See Also

  • No labels