0A is a line feed (pretty sure on this) which is certainly not boolean. I have no idea what 0F is though I thought it had some significance like terminator or something.
Adam Haskell On Tue, Jun 10, 2008 at 5:20 PM, Brian Kotek <[EMAIL PROTECTED]> wrote: > True, but 0A is also hex and it still returns false for isBoolean. > > On Tue, Jun 10, 2008 at 5:13 PM, Adam Haskell <[EMAIL PROTECTED]> wrote: > > > Hexadecimal :) > > > > > > Adam Haskell > > > > > > On Tue, Jun 10, 2008 at 5:00 PM, Fred Anderson <[EMAIL PROTECTED]> > > wrote: > > > > > 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:307199 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4