$FUNCNAME$
  ATAIL()
$CATEGORY$
  ARRAY
$SUMMARY$
   Return the highest numbered element of an array
$LANG_RU$
        .
$SYNTAX$
     ATAIL(<aArray>) --> Element
$LANG_RU$
     ATAIL(<>) --> 
$ARGUMENTS$
     <aArray> is the array.
$LANG_RU$
     <> - 
$RETURNS$
     ATAIL() returns either a value or a reference to an array or object.
     The array is not changed.
$LANG_RU$
     ATAIL()  ,      
       .     .
$DESCRIPTION$
     ATAIL() is an array function that returns the highest numbered element
     of an array.  It can be used in applications as shorthand for
     <aArray>[LEN(<aArray>)] when you need to obtain the last element of an
     array.
$LANG_RU$
     ATAIL() -   ,   
         .    
          <>[LEN(<>)],
          .
$EXAMPLES$
       The following example creates a literal array and returns that
	last element of the array:

	aArray := {"a", "b", "c", "d"}
	? ATAIL(aArray)                     // Result: d
$LANG_RU$
            
          .

       aArray := {"a", "b", "c", "d"}
       ? ATAIL(aArray)                      // : d
$SEEALSO$
  LEN()
$END$
