What? Are you serious? Amazing. Never knew that--or even so much as guessed such a thing.
I'll tinker and see what I can come up with. Learn something new every day. Very cool... Cheers, Dan On Thu, Oct 8, 2009 at 7:19 AM, blues <[email protected]> wrote: > > 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 -~----------~----~----~----~------~----~------~--~---
