Help needed on Select Case
Select Case True
Case (iVariable > 1)
response.write "Greater than 1"
Case (iVariable = 1)
response.write "Equal to 1"
end Select
--
Michael Harris
Microsoft MVP - Scripting
Quote:
> I cannot get the following to work:
> Select Case iVariable
> Case >1
> response.write "Greater than 1"
> Case 1
> response.write "Equal to 1"
> end Select
> The problem is with the Case >1; syntax error.
> What is my mistake here?
> Thank you.