J
JohnBon
Hi
I have tried the following code on two differendt computers. It works
fine on one of them and on the other it's: Type mismatch: 'myVar' on
line 5
Here's the code:
Class TestClass
public myVar(2)
public sub setTestClass
myVar(0) = "Hello!!"
end sub
End Class
set varObj = new TestClass
varObj.setTestClass
response.write varObj.myVar(0)
I dont understand why?
The two computers have IIS and the following OS:
Windows 2000 Pro SP4 & Windows 2000 Server SP4
/JohnBon
I have tried the following code on two differendt computers. It works
fine on one of them and on the other it's: Type mismatch: 'myVar' on
line 5
Here's the code:
Class TestClass
public myVar(2)
public sub setTestClass
myVar(0) = "Hello!!"
end sub
End Class
set varObj = new TestClass
varObj.setTestClass
response.write varObj.myVar(0)
I dont understand why?
The two computers have IIS and the following OS:
Windows 2000 Pro SP4 & Windows 2000 Server SP4
/JohnBon