I guess it technically doesn't make a difference as the compiler
probably just queries for dim's in methods to allocate variables. The
only exception is redim() to resize arrays, which is more like a
command.

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.


2007/4/6, Eric Pousse <[EMAIL PROTECTED]>:
> Is there a big advantage to put "Dim declares" into the code instead
> of before the code?
> I ask this because I have old codes and only if advantage is big, I
> will change place of "Dim declares".
> Which kind of advantages can there be?

-- 
Best regards,
Bastian Bense
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to