A variable defined within a SUB or FUNCTION, only remains valid until the procedure is exited. This is known as a &quot; local &quot; variable. In many cases, you need a variable to be valid in all procedures, in every module of all libraries, or after a SUB or FUNCTION is exited.
在某个子程序或函数中定义的变量仅在该过程中有效。这种变量被称为“局部”变量。在很多情况下，您需要定义在所有过程中、所有程序库的各个模块中或者在退出子程序或函数后仍有效的变量。