Andy Dent wrote > > Quoting Thom McGrath <[EMAIL PROTECTED]>: > > > Just curious, why is this considered a warning? Is there some kind of > > overhead that I missed, or is it just messy code. > > > On Apr 30, 2007, at 4:48 PM, Brendan Murphy wrote: > > > >> and the second is to check for misplaced > >> DIM statements (DIMs imbedded within blocks of code) > > Now that it is available (I moved up from 5.5 a few months ago), I > quite frequently use it to guarantee scope of variables.
Note, however, that there is overhead associated with DIM in that it initializes the variable; it isn't purely a scope thing. Dimming a variable inside a loop will add overhead to the loop and should be treated in the same way as other loop invariants - move them outside the loop. Tim No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.467 / Virus Database: 269.6.2/781 - Release Date: 4/30/2007 9:14 AM _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
