How do I declare a variable and assign the value once, and then reuse that variable in multiple procedures?
Posted on 2008-10-23
Ok, this one is really basic, but for some reason I can't figure it out or find the info on the net. I want to declare a variable in one spot, say:
Dim strX as string = "X"
and then reference that variable in multiple procedures/functions without having to re-declare it. The reason being I want to assign paths to the variables, and when the paths change I want to only have to update the variables in one location.