| 
  | 
"Rafal 'Raf256' Maj" <raf### [at] raf256 com> wrote in message
news:Xns### [at] 204 213 191 226...
> Would it be a big problem to allow syntax  :
>
> #macro finWater1 reflection { .01 .2 } #end
> finish { finWater1 }
>
> instead of  finish { finWater1() }
>
I don't see the point.  Usually macros are used to pass new variables into
repeated code i.e,
 #macro finWater1 (minref,maxref)
    reflection { minref,maxref }
#end
finish { finWater1(.01,.2) }
Since you are not passing variables you should just use a #declare,
#declare finWater1= finish{reflection { .01 .2 }}
finish{finWater1}
-tgq
 
 Post a reply to this message 
 | 
  |