Re: true false

2009-03-08 Thread s. isaac dealey
I thought this sample would do that. > Yes, but I think he wanted it to display TRUE or FALSE the way the > yesnoformat displays YES or NO. > > On Sun, Mar 8, 2009 at 11:50 AM, s. isaac dealey wrote: > > > >> #IIF(myvar eq "1", DE("true"), DE("false"))# > > > > Actually you can get a little bi

Re: true false

2009-03-08 Thread Maureen
Yes, but I think he wanted it to display TRUE or FALSE the way the yesnoformat displays YES or NO. On Sun, Mar 8, 2009 at 11:50 AM, s. isaac dealey wrote: > >> #IIF(myvar eq "1", DE("true"), DE("false"))# > > Actually you can get a little bit cleaner than this even: > > #iif(myvar,true,false)# >

Re: true false

2009-03-08 Thread Dominic Watson
Indeed, evaluating to 1 is not strictly correct because: false = 0 true = not false Dominic ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk

Re: true false

2009-03-08 Thread s. isaac dealey
> #IIF(myvar eq "1", DE("true"), DE("false"))# Actually you can get a little bit cleaner than this even: #iif(myvar,true,false)# True and false don't need the DE wrappers because they're boolean values, so they evaluate to themselves and then as long as myvar is a boolean, you don't have to e

Re: true false

2009-03-08 Thread Peter Boughton
You're possibly thinking of Railo's TrueFalseFormat function. Does exactly the same as YesNoFormat, but with true and false. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Tr

Re: true false

2009-03-08 Thread Gerald Guido
om: Barney Boisvert [mailto:bboisv...@gmail.com] > > Sent: Sunday, March 08, 2009 1:31 PM > > To: cf-talk > > Subject: Re: true false > > > > > > YesNoFormat does it for yes and no, but nothing built in for true and > > false. > > > > cheers, > &g

RE: true false

2009-03-08 Thread William Seiter
rate you would find elsewhere. Professional. Dedicated. Effective. The Easy 24/7 way to get started: http://www.goldengrove.net/ or you can call: (626) 593 - 5501 -Original Message- From: William Seiter [mailto:will...@seiter.com] Sent: Sunday, March 08, 2009 10:43 AM To: cf-talk Subject: RE:

RE: true false

2009-03-08 Thread William Seiter
You can build your own. Not tested, but along these lines... William -- William E. Seiter Need to have your mortgage modified? I charge no fees until I am successful, then I charge almost half the rate

RE: true false

2009-03-08 Thread Chad Gray
Ah.. I was not dreaming. I knew there was something built in. Thanks Barney! > -Original Message- > From: Barney Boisvert [mailto:bboisv...@gmail.com] > Sent: Sunday, March 08, 2009 1:31 PM > To: cf-talk > Subject: Re: true false > > > YesNoFormat does it for

Re: true false

2009-03-08 Thread Barney Boisvert
YesNoFormat does it for yes and no, but nothing built in for true and false. cheers, barneyb On 3/8/09, Chad Gray wrote: > > Isnt there a CF function that takes a 1 or 0 and converts it to display True > or False? > > Or am I dreaming? > > > ~~~