|
![](/i/fill.gif) |
Thorsten Froehlich <fro### [at] charlie cns iit edu> wrote:
>In article <365### [at] peak edu ee> , Margus Ramst <mar### [at] peak edu ee> wrote:
>> I don't know if this is a bug or not, but it I can't redefine a
>> single component of a vector with dot operators, i.e.:
>>
>> #declare Vector = <0,0,0>;
>> #declare Vector.x = 5; //This sort of operation gives an error
>>
>> I would expect it to result in <5,0,0>
>> I know this can be worked around, but I don't see why it should be illegal.
>
>Thats simple: Its not in the language definition!
Abstracting further:
Is a #define just macro substitution, like in C, or is it an
actual assignment operator?
-Rich
--
Rich Lafferty ---------------------------------------------------------
IITS/Computing Services | "Oderint dum metuant."
Concordia University | -- Lucius Accius (170-90 BC).
ric### [at] vax2 concordia ca -----------------------------------------[McQ]--
Post a reply to this message
|
![](/i/fill.gif) |