Re: [NTG-context] metafun question getting XY

2004-08-16 Thread Hans Hagen
Floris van Manen wrote: if i define a path q := (w0,w0)--(w0,ww0)--(w2,ww1)--(w3,ww2)--(w3,w0)--cycle ; and then pass this path as a parameter to a function test( q ) ; then within that function i can step through the 'list of points'. def test( expr a ) = for i = 1 upto (length(a)-2): dotlabel.b

[NTG-context] metafun question getting XY

2004-08-16 Thread Floris van Manen
if i define a path q := (w0,w0)--(w0,ww0)--(w2,ww1)--(w3,ww2)--(w3,w0)--cycle ; and then pass this path as a parameter to a function test( q ) ; then within that function i can step through the 'list of points'. def test( expr a ) = for i = 1 upto (length(a)-2): dotlabel.bot ("" , (point