I just tried this with Blue Dragon JX and I get the desired results.
http://labs.trunkful.com/isitBoolean.cfm
Also, I check other hex values and found that "0D " also comes back as
a boolean. ALso if you just have the string "0F " ( that is Zero Ef
Space") you get true for boolean. Odd.
<cfset test1 = '0A' & ' '>
<cfset test2 = '0B' & ' '>
<cfset test3 = '0C' & ' '>
<cfset test4 = '0D' & ' '>
<cfset test5 = '0E' & ' '>
<cfset test6 = '0F' & ' '>
<cfset test7 = '0D '>
<cfset test8 = '0F '>
<cfoutput >
#isBoolean(test1)#:#test1#<br />
#isBoolean(test2)#:#test2#<br />
#isBoolean(test3)#:#test3#<br />
#isBoolean(test4)#:#test4#<br />
#isBoolean(test5)#:#test5#<br />
#isBoolean(test6)#:#test6#<br />
#isBoolean(test7)#:#test7#<br />
#isBoolean(test8)#:#test8#<br />
</cfoutput>
Wil Genovese
One man with courage makes a majority.
-Andrew Jackson
A fine is a tax for doing wrong. A tax is a fine for doing well.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307198
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4