Results 1 to 3 of 3

Thread: Valid Constants for VB Script?

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Jan 2001
    Location
    Florida
    Posts
    3,216

    Talking

    Are these Valid Constants for VB Script?

    They are going to be used in an .asp page for math calculations.

    Const cEarlyIndiv = "105" 'representing $105
    Const cEarlySpouse = "95"
    Const cPastor = "75"
    Const cStudent = "75"

  2. #2
    Addicted Member
    Join Date
    Jun 2000
    Location
    Pittsburgh, PA
    Posts
    149
    take the quotes out or it will be read as a string.

    Const cEarlyIndiv = 105
    Const cEarlySpouse = 95
    Const cPastor = 75
    Const cStudent = 75

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Jan 2001
    Location
    Florida
    Posts
    3,216

    Talking

    thank you hope it works

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