The only reasonable alternative to using a global variable is to use PRIVATE, and the problems with that (particularly the incompatibility with ON ERROR) mean you're simply trading off one potential problem for another. If I was writing the library now, I'd incorporate an @ symbol in the variable name, because by convention the user should never be creating a variable name containing an @. |
|