If not illegal syntax, it would be nice to have the compiler throw a warning (but not fail). I remember the first (and last) time I made that error. It took me entirely too long to figure out what was going on and why.
-Adam On 5/16/07, Jim Dossey <[EMAIL PROTECTED]> wrote: > I wouldn't be at all surprised if some future version of RB made the Siamese > Dims syntax illegal. > > On 5/16/07, Daniel Stenning <[EMAIL PROTECTED]> wrote: > > > > Sure but you don't get two seperate instances, you will get two > > referrences > > both pointing to the same instance. > > > > Its best always to instantiate explicitly seperately as in your second > > example. > > > > > > On 16/5/07 11:17, "Octave Julien" <[EMAIL PROTECTED]> wrote: > > > > > If I understand correctly the Language reference's entries for DIM and > > > NEW, it is possible to dim two new instances in the same statement. > > > > Regards, > > > > Dan > > > _______________________________________________ > Unsubscribe or switch delivery mode: > <http://www.realsoftware.com/support/listmanager/> > > Search the archives: > <http://support.realsoftware.com/listarchives/lists.html> > -- -Adam dingostick.com _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
