So is this why I see the following behavior:

datCurrent = New Date <--01/01/07 for example

datTemp = datCurrent

datTemp.Month = datTemp.Month + 1

After the last line both datCurrent and datTemp are set to 01/02/07  
(or 02/01/07 depending on settings)

But if I do:

datTemp.TotalSeconds = datCurrent.TotalSeconds

instead of

datTemp = datCurrent

then only datTemp is 01/02/07, and datCurrent is still 01/01/07

?

On Apr 5, 2007, at 7:37 AM, [EMAIL PROTECTED] wrote:

>
> No, that's not true in general.  It's especially untrue for things  
> like
> integers.
>
>
> What you're describing is an issue with object variables, because in
> that case the value is a reference to some object data.  But with an
> integer, the value is the number itself.
>

-- 
David Glass - Gray Matter Computing
graymattercomputing.com
559-303-4915


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to