well.

I have cfmx, win 2k and I get the same thing you get.

odd isnt it.

...tony

Tony Weeg
Senior Web Developer
UnCertified Advanced ColdFusion Developer
Information System Design
Navtrak, Inc.
Mobile workforce monitoring, mapping & reporting
www.navtrak.net
410.548.2337 

-----Original Message-----
From: Joseph Thompson [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, February 04, 2003 4:06 PM
To: CF-Talk
Subject: CF 4.5 --> CFMX odd IS evaluation (repost on macromedia forum)


The following was brought to my attention and I really don't know what
to say.

Has anyone ever seen this or have a good/bad/humourus explanation?

>





 I'm sorry - I am totally baffled by this.��Can someone please explain
to me 
why this is happening?��Create a page that contains the following code:

<HTML>
<BODY>
����<CFIF "1,2" IS "1,2,3">
��������Test passed
����<CFELSE>
��������Test failed��������
����</CFIF>

����<CFIF "1,2,3" IS "1,2">
��������Test passed
����<CFELSE>
��������Test failed��������
����</CFIF>

����<CFIF "0,1" IS "0,1,2">
��������Test passed
����<CFELSE>
��������Test failed��������
����</CFIF>

����<CFIF "2,3" IS "2,3,4">
��������Test passed
����<CFELSE>
��������Test failed��������
����</CFIF>

����<CFIF "x,y" IS "x,y,z">
��������Test passed
����<CFELSE>
��������Test failed��������
����</CFIF>
</BODY>
</HTML>



Now, run it.��The results I get on my CF5 server (I have tried this on 
multiple installations) are:

Test passed
Test passed
Test failed 
Test failed 
Test failed 

I must be missing something here since the string "1,2,3" is obviously
not 
the same as "1,2".��Can someone PLEASE point out my stupid
mistake?��Would 
someone be so kind as to try it out on their installation of CF5? 

>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to