Developers Heaven Forum

Web Programming => ASP => Topic started by: admin on July 24, 2009, 04:08:48 PM

Title: use SET inVBscript
Post by: admin on July 24, 2009, 04:08:48 PM
In order to declear variables in VBS you can use :
Dim x
Public y
Private z
and then assign the values as:
x= "string"
y= 19
z=10.5
Don't use SET except you assing an instance of a class to the variable like:
Dim myinstance
Set myinstance = new ClassName
or you will have error: object required