[NTG-context] Re: help required w.r.t " vardef "

2004-04-09 Thread vinuth madinur
Thankx Hans, But why does this work with "def" and not with "vardef" . "list" is just a macro name i've used. And "A,B,C,A" is just the replacement text I want when I call the macro "list". Is there any other way of doing this? Vinuth. -- __ Check o

[NTG-context] Re: ntg-context digest, Vol 1 #715 - 2 msgs

2004-04-09 Thread Jonathan Nicholl
On 7 Apr 2004, at 11:00, [EMAIL PROTECTED] wrote: In the following code : vardef list = A , B , C , A enddef; def triangle = forsuffixes $=list: pair T.$; endfor; enddef; beginfig(1) triangle; path T; T.A = (2,3); T.B = (3,5); T.C = (2,6); T = T.A -- T.B -- T.C -- cycle;