<
I am trying to figure out what the heck im doing wrong when embedding the if into the loop:

for a from 1 while a<13 do
if(a=1)
then functions[a]:=m||a;
else functions[a]:=(m||a||rref[1,5]*x^(3))+(m||a||rref[2,5]*x^(2))+(m||a||rref[3,5]*x)+(m||a||rref(4,5)); end if
end do;

I get the Error, unterminated loop

Thanks in advance!

Please Wait...