The exception for that would be when you have quite a large subroutine (one module that I wrote and still maintain is 2000 lines long, and mostly consists of a single routine 1750 lines long) -- in that case I put virtually all of my variable declarations at the top of the routine. That way there was less searching for variable declarations scattered around.
--t. alex
"Nyahhh (munch, munch) What's up, Doc?" --Bugs Bunny
In reply to Re: Where to put my variables...
by talexb
in thread Where to put my variables...
by ravendarke
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |