MathGroup Archive 2012

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

Search the Archive

Re: opposite of AppendTo


list = Drop [ list , -1 ]


On Mon, Jan 16, 2012 at 2:12 PM, burke <burket at mailbox.sc.edu> wrote:

> AppendTo[s,e] appends "e" to "s" and then RESETS "s". How does one
> delete or remove an element "e" from a list "s" and then RESET "s"?
> The _reset_ is my problem.  I want to be able to add and delete
> elements of a list (a list of graphical elements with very low
> opacity).  I can "appendto" the list at will but am unable to delete
> elements (using Delete, DeleteCases, Except, Select, etc.). Deleting
> "e" from "s" is easy enough, but resetting "s" seems impossible.
> Help!!
>
>


  • Prev by Date: Re: plotting histograms with do loop
  • Next by Date: Re: opposite of AppendTo
  • Previous by thread: opposite of AppendTo
  • Next by thread: Re: opposite of AppendTo