Select CASE between values

Home Forums Scripting General Scripting Select CASE between values

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Avatar
    tonyyeb
    Member
    #121949

    Hi guys

    This doing my head in. This is an ASP prob.

    I have

    val1 = 1000
    val2 = 500
    val3 = 1500

    select case val1
    case val1 > val2, val1 < val3 response.write "Huuray!" end select[/CODE] Why doesn't this produce the result of Huuray!??? Im missing something simple i know i am!![CODE]val1 = 1000
    val2 = 500
    val3 = 1500

    select case val1
    case val1 > val2, val1 < val3
    response.write “Huuray!”
    end select[/CODE]

    Why doesn’t this produce the result of Huuray!???

    Im missing something simple i know i am!!

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.