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?&nbsp; The
> output of this statement is:</FONT>
> </P>
> 
> <P><FONT SIZE=2>&nbsp;EQUAL</FONT>
> </P>
> <BR>
> <BR>
> 
> <P><FONT SIZE=2>&lt;CFIF &quot;12:00 AM&quot; EQ &quot;0&quot;&gt;</FONT>
> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>EQUAL</FONT>
> <BR><FONT SIZE=2>&lt;CFELSE&gt;</FONT>
> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>NOT EQUAL</FONT>
> <BR><FONT SIZE=2>&lt;/CFIF&gt;</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

Reply via email to