Question: for loops problem

hey i'm trying to learn how to use maple and can't seem to figure out why this is wrong. i don't really know what "nops()" does either. 

 

with (linalg);

*insert equations, matrix and Groebner here and get a whole bunch of z values *

 

zvals:=[fsolve(polz)];

for i from 1 to nops(zvals)

  Error, unterminated for loop

do

   Error, unable to parse

myx:=zvals[i];

 

i was folowing an example i was given and it doesnt seem to work. please help! how do i make it terminate the for loop??

Please Wait...