Functions should be self-contained. Always. Of course, if you *do* insist on breaking the rules, just Dim the variable outside of any sub or function and it is global. You can't control whether or not ...
In my last two articles, I discussed how to read and write to files using Visual Basic Scripting Edition (VBScript). This week we discuss how to declare and use variables, constants and strings. In ...