> -----Original Message----- > Subject: Re: An interesting DIM gotcha > > >>>> DIM reg1,reg2,reg3 as new regEx > > If RB is so proud of it, they ought to at least document the > behavior in the manual very prominently. Interpreting it as > creating 3 regEx instances is a very natural thing to do, > and it's a nasty and hard-to-figure-out bug when it bits you.
The Language Reference says: "If you write: Dim a, b as New MemoryBlock(10) Both a and b point to the same Memoryblock." Is that not clear enough for you? _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
