* Re: ntg-context digest, Vol 1 #784 - 10 msgs
@ 2004-06-16 6:18 vinuth madinur
0 siblings, 0 replies; only message in thread
From: vinuth madinur @ 2004-06-16 6:18 UTC (permalink / raw)
Hello everybody,
Thanks for helping me solve the problem. It was wonderful seeing the metafun manual.
One more 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.
P.S :- To Patrick Gundlach, thanks for help.
--
______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org
This allows you to send and receive SMS through your mailbox.
Powered by Outblaze
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-06-16 6:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-16 6:18 ntg-context digest, Vol 1 #784 - 10 msgs vinuth madinur
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).