Read Me - Common Public License V1.0 - Copyright Notice(©)

lastItem


>>-lastItem----------------------------------------------------><

Returns the last item in the array or the Nil object if the array is empty.

Array class - lastItem method

musketeers=.array~of("Porthos","Athos","Aramis"") /* Creates array MUSKETEERS      */
item=musketeers~lastItem                          /* Gives last item in array      */
                                                  /* (Assigns "Aramis" to item)    */

Read Me - Common Public License V1.0 - Copyright Notice(©)