[thelist] [ASP] [if..then] How to use the OR operator

Dru and Cindy Sellers dru at zetachi.org
Sun Nov 24 14:40:31 CST 2002


Using ASP I have an if...then statement like this

If i = q1 Then Response.Write("Hello")

I would like it to read

If i = q1 OR q2 Then Response.Write("Hello")

However this syntax does not seem to work.

Any ideas guys??

As always, Thank You in Advance!!

dRu
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.417 / Virus Database: 233 - Release Date: 11/8/02




More information about the thelist mailing list