|
|
> 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?
In POV-Ray, all variables are passed by reference and all non-variables are
passed by value.
mymacro(
3, // by value
myvar, // by reference
myvar + 0 // by value
)
> Also, where in the documentation is the information about passing by
> reference versus passing by value?
Not sure. Probably around wherever macros are explained. Everything I said
in these two posts I either heard on this newsgroup or learned from other
languages.
- Slime
[ http://www.slimeland.com/ ]
Post a reply to this message
|
|