On Oct 8, 1:38 pm, The Editor <[email protected]> wrote:
> Sure, if I could figure out how to do it! :)
easy :) just put an '&' in front of the variable name.
e.g.
function MyFunc($varbyname,&$varbyref) { ... }
any changes to $varbyname are discarded. in other words, $varbyname is
a copy of the passed value.
any changes to $varbyref are preserved. in other words, $varbyref is a
reference to the passed variable. this also means that the passed
parameter MUST be a variable and not a constant.
blues
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---