|
![](/i/fill.gif) |
Nathan Kopp <nk8### [at] ltu edu> wrote:
>I think that the first paragraph that you quoted is talking about when you
>call the macro like the following:
>
>#declare X = 1;
>Macro(X+50)
>
>In this case, a new local symbol is created and no value is returned. I
>haven't read the documentation yet, so it may not be clear on this point.
Yes, that's right. because X+50 is a constant RVALUE, that can't be
changed. The documentation says:
"Values may only be returned via a parameter if the parameter is an
IDENTIFIER. Parameters that are RVALUES are constant values that
cannot return information"
Bye,
Friedemann
Friedemann Schmidt
Fri### [at] Stones com
Raytracing-Gallery: http://www.rz.fhtw-berlin.de/~s0049669
Post a reply to this message
|
![](/i/fill.gif) |