File r37/lisp/csl/html/r37_0063.html artifact f4e1718ac6 part of check-in dc9552dc80



<A NAME=SECOND>

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



<B>SECOND</B> _ _ _  _ _ _  _ _ _  _ _ _ <B>operator</B><P>
<P>
 
 <P>
<P>
The <em>second</em> operator returns the second element of a list. 
 <P> <H3> 
syntax: </H3>
<P>
<P>
<em>second</em>(&lt;list&gt;) or <em>second</em> &lt;list&gt; 
<P>
<P>
<P>
<P>
&lt;list&gt; must be a list with at least two elements, to avoid an error 
message. 
<P>
<P>
 <P> <H3> 
examples: </H3>
<P><PRE><TT>
alist := {a,b,c,d}; 

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


second alist; 

  B 


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

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


second second blist; 

  BB

</TT></PRE><P>

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