What Is The Difference Between the Dim, Public, and Private Statements?
Ask by Dependra Pathak
Updated 23 Sep 2020
Public statement variables are available to all procedures in all scripts.
Variables declared with Dim at the script level are available to all procedures within the script. At the procedure level, variables are available only within the procedure.