# ATAIL()

Returns the rightmost element of an array

Syntax

  ATAIL( <aArray> ) --> Element

Arguments

  <aArray> is the array.

Returns

  <Element> the expression of the last element in the array.

Description

  This function return the value of the last element in the array named <aArray>. This function does not alter the size of the array or any of the subscript values.

Examples

          LOCAL array:= {"Harbour", "is", "Supreme", "Power"}
          ? ATAIL(aArray)

Status

  Ready

Compliance

  This function is CA Clipper compliant

Files

  Library is vm

See Also

- LEN()
- ARRAY()
- ASIZE()
- AADD()