In a message regarding Re: Help Creation and Modification Dates dated Tue, 10 Apr 2007 15:06:58 +0200, Arnaud Nicolet said that ...
> I think this is the fault: > > Dim DateCr, DateMod as date > With this syntax, you have DateCr and DateMod pointing to the same > date (you modify one: the other is modified as well). So, when you > say "DateMod=new date", DateCr also becomes a "new date". It's a hard- > to-explain concept. Arnaud, I really don't think you're right about that. As the code is written, neither variable is pointing to a date and there should be no problem as long as they are instatntiated separately. If the code had been Dim DateCr, DateMod as new date it would have produced a problem similar to what you described. -- Steve Garman Using REALbasic Professional on Windows XP Pro _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
