|
![](/i/fill.gif) |
Rune wrote:
>
> > Since it's leagal to use declared variables in functions,
>
> When you *call* functions, not when you initiate them! At least it shouldn't
> be since it makes no sense at all.
>
> [...]
Surely also when you initiate them, and this makes a lot of sense.
I would find constructs like the following extremely irritating:
#declare V = 0.1;
#declare Myfunction = function (V, x) {V*x}
#declare Myfunction2 = function (x) {V*x}
I know macros work this way, but as Thorsten mentioned, they are something
completely different.
Christoph
--
Christoph Hormann <chr### [at] gmx de>
IsoWood include, radiosity tutorial, TransSkin and other
things on: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
![](/i/fill.gif) |