- #1
Saladsamurai
- 3,020
- 7
If you call a subroutine from the MAIN code, is it standard to declare the variables used in the subroutine in the subroutine itself or in the main code? My gut tells me the former, but the horrendously written code before me tells me the latter.
Any thoughts?
Any thoughts?