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 aArray := { "Harbour", "is", "Supreme", "Power" } ? ATail( aArray ) // Result is "Power"
Compliance
Clipper
Files
Library is vm
Seealso
LEN(), ARRAY(), ASIZE(), AADD()
Pingback: Harbour All Functions — A | Viva Clipper !
Pingback: Harbour Array Functions | Viva Clipper !
Pingback: Harbour RG Summary | Viva Clipper !