Le 11 avr. 07 à 18:30 Soir, Steve Garman a écrit:

> In a message regarding Re: Help Creation and Modification Dates  
> dated Wed,
> 11 Apr 2007 01:16:53 +0200, Arnaud Nicolet said that ...
>
>> I think I don't remember the issue I had correctly (I thought it was
>> not what you're saying, but that would be nonsense).
>
> I guess you're remembering this confusing Dim, which  
> (counterintuitively
> for some people)causes both variables to refer to the same object.
>
>   dim d1, d2 as new date //don't try this at home, kiddies
>   d1.month = d1.month + 1
>   MsgBox d1.SQLDate + EndOfLine + d2.SQLDate
>
> But you can still do
>   d2 = new Date
> to make them refer to different objects again.

Ah, yes, that's it.
Thank you.
_______________________________________________
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