|
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) */
|