File r37/lisp/csl/html/r37_0066.html artifact 21cd1d2046 part of check-in 955d0a90a7



<A NAME=THIRD>

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



<B>THIRD</B> _ _ _  _ _ _  _ _ _  _ _ _ <B>operator</B><P>
<P>
 
 <P>
<P>
The <em>third</em> operator returns the third item of a 
<A HREF=r37_0053.html>list</A>. 
 <P> <H3> 
syntax: </H3>
<P>
<P>
<em>third</em>(&lt;list&gt;) or <em>third</em> &lt;list&gt; 
<P>
<P>
<P>
<P>
&lt;list&gt; must be a list containing at least three items to avoid an error 
message. 
<P>
<P>
 <P> <H3> 
examples: </H3>
<P><PRE><TT>
alist := {a,b,c,d}; 

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


third alist; 

  C 


blist := {x,{aa,bb,cc},y,z}; 

  BLIST := {X,{AA,BB,CC},Y,Z}; 


third second blist; 

  CC 


third blist; 

  Y

</TT></PRE><P>

REDUCE Historical
REDUCE Sourceforge Project | Historical SVN Repository | GitHub Mirror | SourceHut Mirror | NotABug Mirror | Chisel Mirror | Chisel RSS ]