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

firstItem


>>-firstItem---------------------------------------------------><

Returns the first item in the list or the Nil object if the list is empty.

Directory class - firstItem method

musketeers=.list~of("Porthos","Athos","Aramis") /* Creates list MUSKETEERS      */
item=musketeers~firstItem                       /* Gives first item in list     */
                                                /* (Assigns "Porthos" to item)  */

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