Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

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

irt.org | Knowledge Base | VBScript | Q7010 [ previous next ]

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

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.


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 6th July 2009. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2009 irt.org, All Rights Reserved.