MathGroup Archive 1997

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

Search the Archive

Sequence is funny !

     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,

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