(j3.2006) (j3.2005) Re: question on token replacement/concatenation
Tue Jan 23 05:27:24 EST 2007
Michael Ingrassia said:
> What is the correct expansion of
> Do we need a sentence like "macro actual
> arguments is to macro dummy arguments as
> procedure call actual arguments
> is to procedure dummy arguments" or "argument correspondence
> in macro expansion works just like argument correspondence in
> procedure calls" or some such?
Of course we need to specify how macro argument association works.
Since I'm currently reduced to reading the text on a small screen
I'll not offer an opinion as to whether we do already, or whether
what we say already is sufficient. I would certainly hope that I
didn't forget to say *something* about this when writing the macro
...however, we should just say it, not do it by handwaving analogy.
Macro argument association is quite a bit simpler than the non-macro
kind (we don't have pointers and other such things to confuse us).
........................Malcolm Cohen (malcolm at nag-j.co.jp), Nihon NAG, Tokyo.
More information about the J3