[thelist] ASP: DIM var AS ??

Luther, Ron ron.luther at hp.com
Wed Jul 2 16:37:15 CDT 2003


Casey Crookston asked:

I have a VERY simple if then statement:

if cat = cat_id then
   klass="navigation2"
else
   klass="navigation"

Weird thing... ONLY the "else" gets triggered, even when cat and cat_id are
equal.  

********************

Hi Casey,

One quick thing to try:

if cat == cat_id then ... ?

[Equivalence vs assignment operator.]

HTH,

RonL.



More information about the thelist mailing list