A more simplified example would be:
<cfoutput>
#isBoolean("0F ")#
</cfoutput>
Additionally '0D' has the same effect.
Fred
> I have run into an issue with cold fusion,
> When I try to concatenate the string '0F' & ' ' I get a value that
> passes isBoolean().
> While this works with any number of leading zeros it does not work
> with any other value besides 'F'.
> Additionally it only works when you try to append a ' ' space to it.
> here is a little sample.
> <P>var test<br />
> <cfset test1 = '0A' & ' '>
> <cfset test2 = '0F' & ' '>
> <cfset test3 = '0F'>
> <cfoutput >
> #isBoolean(test1)#:#test1#<br />
> #isBoolean(test2)#:#test2#<br />
> #isBoolean(test3)#:#test3#<br />
> </cfoutput>
> I have tested on both CF7 and CF8.
> Does anyone know why this is happening?
> Thank you in advance. Fred
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:307197
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4