case statement

Results 1 to 2 of 2

Thread: case statement

  1. #1
    Join Date
    Dec 1969

    Default case statement

    is there a way in case statement where i can specify values such as<BR>case &#062;4 in vbscript<BR>

  2. #2
    Join Date
    Dec 1969

    Default In the left panel of this page...

    Click on "VBScript Reference"<BR><BR>In the list of topics that appears, click on "Statements"<BR><BR>In the list of statements that appears, click on "Select Case"<BR><BR>Read.<BR><BR>Short answer: No. Read the docs to see why. You are allowed *ONLY* an "expressionlist" (a comma-delimited list of individual values).<BR><BR>Use IF ... ELSEIF ... ELSEIF ... ELSE ... END IF instead, I would assume.<BR><BR><BR>

Posting Permissions

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