MathGroup Archive 1997

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

Search the Archive

Sequence is funny !

  • To: mathgroup at smc.vnet.net
  • Subject: [mg8852] Sequence is funny !
  • From: Gilles BARBIER <Gilles.Barbier at der.edfgdf.fr>
  • Date: Tue, 30 Sep 1997 20:16:12 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

     For some people who like to understand the internal mechanism
     of Mathematica, I give them this little problem a friend sent to me :
     
     Why Table[i,{i,Sequence[1,3]}] gives {1,2,3,4} instead of {1,2,3} !!
     
     That's not a bug, I even have an explanation,if you are interested.
     
     Hope it's fun,
     
     Gilles.


  • Prev by Date: Re: MatrixForm
  • Next by Date: Re: Unsolved integral
  • Previous by thread: := vs. =
  • Next by thread: Piecewise functions