Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2002

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

Search the Archive


  • To: mathgroup at
  • Subject: [mg32826] Iterators
  • From: "Juan" <erfa11 at>
  • Date: Thu, 14 Feb 2002 01:43:50 -0500 (EST)
  • Sender: owner-wri-mathgroup at

If I write:

y = Table[Part[w,p[i]],{i,2}], then I get a message saying thet p[i] is not 
a integer.

How can I avoid that?

I have to define w[[p[i]]] before I using it; p[i] are  iterators and w is a 
list of numbers.Then, at the end,I can write:

This is becouse,the numbers of iterators are enter with the parameters in 
the definition of the function, and you don't know that before.


Descargue GRATUITAMENTE MSN Explorer en

  • Follow-Ups:
  • Prev by Date: RSolve
  • Next by Date: Newbie question on Unix and Mathematica. And a question about graph theory
  • Previous by thread: Re: RSolve
  • Next by thread: Re: Iterators