Body of For Loop



Hi,

I have a list of equations called myEquations, and they all depend on
a single parameter p. Using a command like

specificEquations : myEquations, p = 1;

one gets a new list, specificEquations, containing the original
equations with 1 substituted for the variable p. So far, so good!
However, if I try to do something similar in a for loop, something
strange happens.

for i from 1 thru 10 do (

(specificEquations : myEquations, p = i),
print(specificEquations)

);

Here all print statements yield the same output, which is just
myEquations with no value substituted for p.

What am I missing here? Thanks in advance!

Michael Knudsen

-- 
Michael Knudsen
micknudsen at gmail.com