OK, this is kicking my tail, and Microsoft's online documentation is vague (it says an expression list can be used but gives no examples of a range's syntax). Why won't this work?!?testVal = 5
if IsNumeric(testVal) then
Select Case testVal
Case 4 To 11, 98 To 100, 178 ' Zone A
strZone = "A"
Case Else
strZone = "notfound"
End Select
End if
IIS 5 keeps giving me an error "Microsoft VBScript compilation (0x800A0400) Expected statement". If I change the To to a - I don't get the error but the number always results in the case else unless it's the one listed individually (178 in the example above). Other VB references usually use the to keyword To specify ranges in these situations... HELP?