Local Variables
- To: mathgroup at smc.vnet.net
- Subject: [mg20345] Local Variables
- From: Eric Spahr <rspahr at worldnet.att.net>
- Date: Fri, 15 Oct 1999 20:21:00 -0400
- Sender: owner-wri-mathgroup at wolfram.com
I am most confused... Nested Sums seem to be able to
refer to their
predecessors' iterators as in:
" Sum[DoSomething, {i, 1, whatever},{j,
j=i+1,someotherwhatever}
]"... but:
"For[i = 1, i < whatever, i++,
For[j = 1, j < someotherwhatever, j++,
Do Something[[i]][[j]]
]
]" doesn't.
What am I missing?
Thanks in advance.