MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: How do you take apart a sequence?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg102060] Re: [mg102030] How do you take apart a sequence?
  • From: "Scot T. Martin" <smartin at seas.harvard.edu>
  • Date: Tue, 28 Jul 2009 02:04:41 -0400 (EDT)
  • References: <200907270954.FAA03662@smc.vnet.net>

Hold[Sequence[3, 5]][[1]]

On Mon, 27 Jul 2009, zslevi wrote:

> In[75]:=
> b[3, 5, 7][[1]]
>
> Out[75]= 3
>
> In[77]:= Sequence[3, 5][[1]]
>
> During evaluation of In[77]:= Part::partd: Part specification \
> 3[[5,1]] is longer than depth of object. >>
>
> Out[77]= 3[[5, 1]]
>
> I'm new to Mathematica.
> Is there a way to take apart a sequence?
>
>


  • Prev by Date: How to group the graph
  • Next by Date: Re: How do you take apart a sequence?
  • Previous by thread: How do you take apart a sequence?
  • Next by thread: Re: How do you take apart a sequence?