Gerben Wierda wrote:
Is it ok in a .mp file to do something like

 for k=1 step 1 until N:
  beginfig(k);
   % some stuff
  endfig;
 endfor

Sure, why not? Simply try this, which shows that it works fine:

N := 100;
for k=1 step 1 until N:
  beginfig(k);
   drawdot (100,100) withpen pencircle scaled k;
  endfig;
endfor;
end.

bye, Taco
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to