CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 1999
    Posts
    492

    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?





    Why are the "tolerant" so easy to offend?

  2. #2
    Join Date
    Aug 1999
    Posts
    492

    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.

    Why are the "tolerant" so easy to offend?

  3. #3
    Join Date
    May 2000
    Location
    New York, NY, USA
    Posts
    2,878

    Re: Declaring a variable in VBScript

    I believe there are no datatypes in VBScript. All the varaibles are variant

    Iouri Boutchkine
    [email protected]
    Iouri Boutchkine
    [email protected]

  4. #4
    Join Date
    Aug 1999
    Posts
    492

    Re: Declaring a variable in VBScript

    You are correct. I just found that in a VBScript book.


    Why are the "tolerant" so easy to offend?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured