Re: Using Variables outside a function
In your situation i think i'd be tempted to return an array of values from the function rather than use global variables. Just makes the function more independent and reusable. What if you decided to move that function to another file? You'd have to remember to move all the related variables also.
Something to think about.
Mike
|