object instances though, if you want to duplicate those, you have to
write a clone method of some sort.
cheers,
barneyb
On Wed, 08 Sep 2004 16:02:56 -0400, Michael Hodgdon <[EMAIL PROTECTED]> wrote:
> Hey Jim,
>
> Thanks for getting back to me. Unfortunately it does make sense. I really thought (and was hoping) that when you ask a function for some data that it returns a copy of that data not a reference to that objects data. What is the standard practice for this? How do you truly protect an objects data from corruption if when you use a getter on it it returns a reference pointer not a copy?
>
>
--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

