Results 1 to 3 of 3
  1. #1
    Star Lounger
    Join Date
    Aug 2001
    Posts
    66
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Type Checking (2001)

    Before I begin to write my own, is there a built in routine to check what type a variable is? Similar to "isalpha" and "isnum" in C++? I want to limit a text-box's input to numbers only.

  2. #2
    Gold Lounger
    Join Date
    Feb 2001
    Location
    Dublin, Ireland, Republic of
    Posts
    2,697
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: Type Checking (2001)

    Kevin,

    IsNumeric is probably what you are looking for.

    Try <A target="_blank" HREF=http://www.wopr.com/cgi-bin/w3t/showflat.pl?Cat=&Board=vb&Number=37389&page=&view= &sb=&o=&vc=1>This Thread</A> for approaches to restricting input.

    Andrew C

  3. #3
    Star Lounger
    Join Date
    Aug 2001
    Posts
    66
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Type Checking (2001)

    Thanks so much for your help today!

Posting Permissions

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