Came across a weird one (or so i think)

<cfset i = 5>
<cfoutput>#i GT 0 AND i LT 4#</cfoutput>
Returns NO - expected

<cfset i = 5>
<cfoutput>#i GT 0 LT 4#</cfoutput>
Return Yes - not expected

With the second snippet surely this should error??

Andy
www.andyjarrett.co.uk

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183929
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to