Declaring a variable in VBScript
Welcome to my own private hell. What is wrong with this variable declaration?
<%@LANGUAGE="VBSCRIPT"%>
<%
option EXPLICIT
Dim Number as Integer
<p>
<p>
<p>
For some reason I am not allowed to specify the datatype I want my variables. The PC just wants to give me a hard time for no reason right?
Re: Declaring a variable in VBScript
No, the <p> isn't part of the code I was attempting to add additional whitespace lines to my question but my computer wanted to give me a hard time about that too.
Re: Declaring a variable in VBScript
I believe there are no datatypes in VBScript. All the varaibles are variant
Iouri Boutchkine
[email protected]
Re: Declaring a variable in VBScript
You are correct. I just found that in a VBScript book.