MathGroup Archive 2009

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

Search the Archive

Bug with Sequence

  • To: mathgroup at smc.vnet.net
  • Subject: [mg104568] Bug with Sequence
  • From: dh <dh at metrohm.com>
  • Date: Wed, 4 Nov 2009 01:34:10 -0500 (EST)


Hello,

has anybody an explanation for the behavior of "Sequence"? I think it is 

an ugly bug.

Consider the following that shoud succesively shorten the list t:



t = {1, 2, 3}; j = 0;

While[ ++j < 4, t[[1]] = Sequence[]; Print[t]]



this returns: {2,3} three times.Dropping of the first element only seems 

to work once.

If you say Information[t] you get:

t={Sequence[],2,3}



Daniel




  • Prev by Date: Problem with CurrentValue and Alt key
  • Next by Date: Re: Fit function vs Hand Calculation
  • Previous by thread: Re: Problem with CurrentValue and Alt key
  • Next by thread: Re: Bug with Sequence