Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap

Q7010 What Is The Difference Between the Dim, Public, and Private Statements?

You are here: irt.org | FAQ | VBScript | Q7010 [ previous next ]

Private statement variables are available only to the script in which they are declared.
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.

©2018 Martin Webb