MathGroup Archive 2011

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

Search the Archive

[Mathematica] special iterator


Hello everybody,

I would like to define an iterator to explore all the elements in a list except for the one of index j.

something like:
{index,0,Length[myList]} and if index == j  ---> index++

Is it possible?
Can I do this without deleting the j-th element?

Thank you very much for helping :)




  • Prev by Date: Memory leak or flawed garbage collector
  • Next by Date: Ctrl+Number Shortcuts doesn't work
  • Previous by thread: Re: Memory leak or flawed garbage collector
  • Next by thread: Re: [Mathematica] special iterator