Greg M. Johnson wrote:
> I cannot get the following code to work:
>
> //-----------------------------
> #macro sign(a)
> #if (a<0)
> (-a)
> #else
> (a)
> #end
> #end
I've noticed that this way of using macros to express things leads to
parse errors. There is a work-around (which has already been posted),
but the docs give no reason for this construction to fail. Is this
behavior deemed worthy of correction?
Regards,
John
Post a reply to this message
|