Function Element(Set, n)

Element

With the function Element you can retrieve the \(n\)-th element from a set.

Element(
       Set,           ! (input) set reference
       n              ! (input) integer expression
       )

Arguments

Set

The set from which an element is to be returned.

n

An integer expression indicating the ordinal number of the element to be returned.

Return Value

The function Element returns the \(n\)-th element of set Set.

Note

If there is no \(n\)-th element in Set, the function returns the empty element '' instead.