|
|
Slime wrote:
>> I'm not 100% sure what you mean by "by reference".
>
> When a variable is passed "by reference," it means that the variable
> you see inside the macro is the same as the one outside the macro; so
> changing it inside the macro affects the value of the original
> variable passed in. When a variable is passed "by value," its value
> is copied into a new variable inside the macro, and changing that
> variable has no effect on the original variable that was passed.
This difference I know, but I've never been quite sure, in POV-script, HOW
you pass a variable by reference and how do you pass it by value?
Also, where in the documentation is the information about passing by
reference versus passing by value?
Rune
--
3D images and anims, include files, tutorials and more:
rune|vision: http://runevision.com
POV-Ray Ring: http://webring.povray.co.uk
Post a reply to this message
|
|