
<A NAME=FIRST>

<TITLE>FIRST</TITLE></A>
<b><a href=r37_idx.html>INDEX</a></b><p><p>



<B>FIRST</B> _ _ _  _ _ _  _ _ _  _ _ _ <B>operator</B><P>
<P>
 
 <P>
<P>
The <em>first</em> operator returns the first element of a 
<A HREF=r37_0302.html>list</A>. 
 <P> <H3> 
syntax: </H3>
<P>
<P>
<em>first</em>(&lt;list&gt;) or <em>first</em> &lt;list&gt; 
<P>
<P>
<P>
&lt;list&gt; must be a non-empty list to avoid an error message. 
<P>
<P>
 <P> <H3> 
examples: </H3>
<P><PRE><TT>
alist := {a,b,c,d}; 

  ALIST := {A,B,C,D} 


first alist; 

  A 


blist := {x,y,{ww,aa,qq},z}; 

  BLIST := {X,Y,{WW,AA,QQ},Z} 


first third blist; 

  WW

</TT></PRE><P>