EQ is for numerical comparisons only IS is what you must use for text comparisons
On 5/22/02 4:01 PM, "Hubbard, Tom" <[EMAIL PROTECTED]> wrote: > This message is in MIME format. Since your mail reader does not understand > this format, some or all of this message may not be legible. > > ------_=_NextPart_001_01C201E4.984168F0 > Content-Type: text/plain; > charset="iso-8859-1" > > Am I missing something here, or is this just a bug? The output of this > statement is: > > EQUAL > > > > <CFIF "12:00 AM" EQ "0"> > EQUAL > <CFELSE> > NOT EQUAL > </CFIF> > > > This is on Cold Fusion 5. > > ------_=_NextPart_001_01C201E4.984168F0 > Content-Type: text/html; > charset="iso-8859-1" > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> > <HTML> > <HEAD> > <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> > <META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12"> > <TITLE>Some kind of bug?</TITLE> > </HEAD> > <BODY> > > <P><FONT SIZE=2>Am I missing something here, or is this just a bug? The > output of this statement is:</FONT> > </P> > > <P><FONT SIZE=2> EQUAL</FONT> > </P> > <BR> > <BR> > > <P><FONT SIZE=2><CFIF "12:00 AM" EQ "0"></FONT> > <BR> <FONT SIZE=2>EQUAL</FONT> > <BR><FONT SIZE=2><CFELSE></FONT> > <BR> <FONT SIZE=2>NOT EQUAL</FONT> > <BR><FONT SIZE=2></CFIF></FONT> > </P> > <BR> > > <P><FONT SIZE=2>This is on Cold Fusion 5.</FONT> > </P> > > </BODY> > </HTML> > ------_=_NextPart_001_01C201E4.984168F0-- > FAQ: http://www.thenetprofits.co.uk/coldfusion/faq > Archives: http://www.mail-archive.com/[email protected]/ > Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

