Programming Languages
VBScript
Subjective
May 10, 2013
How to declare and assign values to variable in VBScript?
Detailed Explanation
We can declare Dim,Public or Private statement in VBSCript like that.
dim name
name=Give some value
Now,We created a variable named 'name'.
When you declare variable with statements(Dim, Public or Private).Than we introduce 'option explicit' statement before decalring the script.Like:
option explicit
dim name
name=give some value
Example:
name="Pankaj"
x=50
Discussion (0)
No comments yet. Be the first to share your thoughts!
Share Your Thoughts