Web Programming > ASP

use SET inVBscript

(1/1)

admin:
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

Navigation

[0] Message Index

Go to full version