Two level declaration using "vardef".
![](https://secure.gravatar.com/avatar/91e7b223de7e67b288b48aed523f4e65.jpg?s=120&d=mm&r=g)
Hello everybody, One small query (:-} In a two level definition like: def test(expr p)= __temp_call(p) enddef; def __temp_call(expr p)(text t)= ........ enddef; so as to allow definitions for macros like "draw". Now, I want to have a macro similar to "draw" but also I want to have a suffix attached to the macro name. so, I did something like: vardef test@#(expr p)= __temp_call@#(p) enddef; vardef __temp_call@#(expr p)(text t)= ........ enddef; But this will obviously not work. But then I also have to define the macro with "vardef" inorder to have "@#" suffix. Can someone please help me here? Thanks. Vinuth.M.Madinur. -- ______________________________________________ Check out the latest SMS services @ http://www.linuxmail.org This allows you to send and receive SMS through your mailbox. Powered by Outblaze
![](https://secure.gravatar.com/avatar/6af1f724a401c9f6f746a973f33ff595.jpg?s=120&d=mm&r=g)
Hello everybody, One small query (:-}
No answer, but you might think of posting your questions on the appropriate list: http://www.ntg.nl/mailman/listinfo/metapost Patrick
participants (2)
-
Patrick Gundlach
-
vinuth madinur