On Apr 6, 2007, at 6:34 AM, Bastian Bense wrote: > It is a good thing if you gather all dims at the top of the method. > That way it is easier for you and other developers to find all > variable declarations in one place.
Sometimes it is easier to understand the code if the Dim is directly before its initial use rather than have to go back to the start of a long method. Also, the ability to place dims inside of conditionals in 200x means it must be placed inside the conditional if its scope is to be limited to that particular conditional. Although there is nothing wrong with your suggestion, the current flexibility can help in certain circumstances. Terry _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
