RE: Just a little cfcase tip...

2008-07-07 Thread Rick Faircloth
I'm glad I could help.  :o)

Rick

 -Original Message-
 From: Jessica Kennedy [mailto:[EMAIL PROTECTED]
 Sent: Monday, July 07, 2008 12:38 AM
 To: CF-Talk
 Subject: Re: Just a little cfcase tip...
 
 well.. I feel marginally less stupid now =)
 
 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308664
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Just a little cfcase tip...

2008-07-06 Thread Azadi Saryev
obviously not...

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/



Barney Boisvert wrote:
 But not this way:

 cfcase value = red, green, blue, blueish purple delimiters=, 
   

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308637
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Just a little cfcase tip...

2008-07-06 Thread Rick Faircloth
Good Point!

 -Original Message-
 From: Azadi Saryev [mailto:[EMAIL PROTECTED]
 Sent: Sunday, July 06, 2008 12:31 AM
 To: CF-Talk
 Subject: Re: Just a little cfcase tip...
 
 Rick Faircloth wrote:
  This doesn't:  cfcase value = red, blue, green
 
  This drove me crazy all day!
 
 
 it does this way: cfcase value = red, green, blue delimiters=, 
 
 Azadi
 
 
 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308645
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Just a little cfcase tip...

2008-07-06 Thread Rick Faircloth
I'm sure you're correct, but I don't see why it wouldn't
work...

 -Original Message-
 From: Barney Boisvert [mailto:[EMAIL PROTECTED]
 Sent: Sunday, July 06, 2008 12:36 AM
 To: CF-Talk
 Subject: Re: Just a little cfcase tip...
 
 But not this way:
 
 cfcase value = red, green, blue, blueish purple delimiters=, 
 
 On Sat, Jul 5, 2008 at 9:31 PM, Azadi Saryev [EMAIL PROTECTED] wrote:
  Rick Faircloth wrote:
  This doesn't:  cfcase value = red, blue, green
 
  This drove me crazy all day!
 
 
  it does this way: cfcase value = red, green, blue delimiters=, 
 
  Azadi
 
 
 
 
 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308646
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Just a little cfcase tip...

2008-07-06 Thread Bobby Hartsfield
Because ,  are the delimiterS not THE delimiter

blueish Purple will be two separate items.


..:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com

-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED] 
Sent: Sunday, July 06, 2008 9:21 AM
To: CF-Talk
Subject: RE: Just a little cfcase tip...

I'm sure you're correct, but I don't see why it wouldn't
work...

 -Original Message-
 From: Barney Boisvert [mailto:[EMAIL PROTECTED]
 Sent: Sunday, July 06, 2008 12:36 AM
 To: CF-Talk
 Subject: Re: Just a little cfcase tip...
 
 But not this way:
 
 cfcase value = red, green, blue, blueish purple delimiters=, 
 
 On Sat, Jul 5, 2008 at 9:31 PM, Azadi Saryev [EMAIL PROTECTED] wrote:
  Rick Faircloth wrote:
  This doesn't:  cfcase value = red, blue, green
 
  This drove me crazy all day!
 
 
  it does this way: cfcase value = red, green, blue delimiters=, 
 
  Azadi
 
 
 
 
 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308648
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Just a little cfcase tip...

2008-07-06 Thread Jessica Kennedy
well.. I feel marginally less stupid now =) 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308659
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Just a little cfcase tip...

2008-07-05 Thread Rick Faircloth
Tip of the Day...

When using multiple values with CFCASE, e.g.,

cfcase value = 1,2,3

don't put a space after the comma in the value list.

This works:  cfcase value = red,blue,green

This doesn't:  cfcase value = red, blue, green

This drove me crazy all day!

Maybe this will save someone's sanity... (too late for you, Will :oP  )

Rick



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308629
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Just a little cfcase tip...

2008-07-05 Thread Charlie Griefer
On Sat, Jul 5, 2008 at 7:02 PM, Rick Faircloth [EMAIL PROTECTED] wrote:
 Tip of the Day...

 When using multiple values with CFCASE, e.g.,

 cfcase value = 1,2,3

 don't put a space after the comma in the value list.

 This works:  cfcase value = red,blue,green

 This doesn't:  cfcase value = red, blue, green

 This drove me crazy all day!

 Maybe this will save someone's sanity... (too late for you, Will :oP  )

that'd be the case with all list functions in CF.  anything between
the delimiter (including leading/trailing spaces) is going to be part
of the list element.  and yes, it's bitten me square in the ass before
:)


-- 
A byte walks into a bar and orders a pint. Bartender asks him What's
wrong? Byte says Parity error. Bartender nods and says Yeah, I
thought you looked a bit off.

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308630
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Just a little cfcase tip...

2008-07-05 Thread Rick Faircloth
Thanks for the extra info, Charlie!

While learning typing a lng time ago, I, like everyone else,
was taught to put a space after every comma.  So, instinct tells
me to put a space after every comma.  Oh the aggravation following
the rules can cause!

 -Original Message-
 From: Charlie Griefer [mailto:[EMAIL PROTECTED]
 Sent: Saturday, July 05, 2008 10:07 PM
 To: CF-Talk
 Subject: Re: Just a little cfcase tip...
 
 On Sat, Jul 5, 2008 at 7:02 PM, Rick Faircloth [EMAIL PROTECTED] wrote:
  Tip of the Day...
 
  When using multiple values with CFCASE, e.g.,
 
  cfcase value = 1,2,3
 
  don't put a space after the comma in the value list.
 
  This works:  cfcase value = red,blue,green
 
  This doesn't:  cfcase value = red, blue, green
 
  This drove me crazy all day!
 
  Maybe this will save someone's sanity... (too late for you, Will :oP  )
 
 that'd be the case with all list functions in CF.  anything between
 the delimiter (including leading/trailing spaces) is going to be part
 of the list element.  and yes, it's bitten me square in the ass before
 :)



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308631
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Just a little cfcase tip...

2008-07-05 Thread Barney Boisvert
Space-after-comma is an English rule, not a typing rule.  Each
language has it's rules and idioms that apply to uses of the language.
 Obviously some are media specific (there are no spaces in spoken
language), but they're bound to the language itself, not the media.

cheers,
barneyb

On Sat, Jul 5, 2008 at 7:13 PM, Rick Faircloth [EMAIL PROTECTED] wrote:
 Thanks for the extra info, Charlie!

 While learning typing a lng time ago, I, like everyone else,
 was taught to put a space after every comma.  So, instinct tells
 me to put a space after every comma.  Oh the aggravation following
 the rules can cause!

 -Original Message-
 From: Charlie Griefer [mailto:[EMAIL PROTECTED]
 Sent: Saturday, July 05, 2008 10:07 PM
 To: CF-Talk
 Subject: Re: Just a little cfcase tip...

 On Sat, Jul 5, 2008 at 7:02 PM, Rick Faircloth [EMAIL PROTECTED] wrote:
  Tip of the Day...
 
  When using multiple values with CFCASE, e.g.,
 
  cfcase value = 1,2,3
 
  don't put a space after the comma in the value list.
 
  This works:  cfcase value = red,blue,green
 
  This doesn't:  cfcase value = red, blue, green
 
  This drove me crazy all day!
 
  Maybe this will save someone's sanity... (too late for you, Will :oP  )

 that'd be the case with all list functions in CF.  anything between
 the delimiter (including leading/trailing spaces) is going to be part
 of the list element.  and yes, it's bitten me square in the ass before
 :)



 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308632
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Just a little cfcase tip...

2008-07-05 Thread Josh Nathanson
+1 on getting ass-chomped by that same issue -- more than once.

-- Josh

- Original Message - 
From: Rick Faircloth [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Saturday, July 05, 2008 7:13 PM
Subject: RE: Just a little cfcase tip...


 Thanks for the extra info, Charlie!

 While learning typing a lng time ago, I, like everyone else,
 was taught to put a space after every comma.  So, instinct tells
 me to put a space after every comma.  Oh the aggravation following
 the rules can cause!

 -Original Message-
 From: Charlie Griefer [mailto:[EMAIL PROTECTED]
 Sent: Saturday, July 05, 2008 10:07 PM
 To: CF-Talk
 Subject: Re: Just a little cfcase tip...

 On Sat, Jul 5, 2008 at 7:02 PM, Rick Faircloth [EMAIL PROTECTED] 
 wrote:
  Tip of the Day...
 
  When using multiple values with CFCASE, e.g.,
 
  cfcase value = 1,2,3
 
  don't put a space after the comma in the value list.
 
  This works:  cfcase value = red,blue,green
 
  This doesn't:  cfcase value = red, blue, green
 
  This drove me crazy all day!
 
  Maybe this will save someone's sanity... (too late for you, Will :oP  )

 that'd be the case with all list functions in CF.  anything between
 the delimiter (including leading/trailing spaces) is going to be part
 of the list element.  and yes, it's bitten me square in the ass before
 :)



 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308633
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Just a little cfcase tip...

2008-07-05 Thread Azadi Saryev
Rick Faircloth wrote:
 This doesn't:  cfcase value = red, blue, green

 This drove me crazy all day!
   

it does this way: cfcase value = red, green, blue delimiters=, 

Azadi


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308634
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Just a little cfcase tip...

2008-07-05 Thread Barney Boisvert
But not this way:

cfcase value = red, green, blue, blueish purple delimiters=, 

On Sat, Jul 5, 2008 at 9:31 PM, Azadi Saryev [EMAIL PROTECTED] wrote:
 Rick Faircloth wrote:
 This doesn't:  cfcase value = red, blue, green

 This drove me crazy all day!


 it does this way: cfcase value = red, green, blue delimiters=, 

 Azadi


 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308635
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Just a little cfcase tip...

2008-07-05 Thread Matt Robertson
been there and done that :-)

-- 
[EMAIL PROTECTED]
Janitor, The Robertson Team
mysecretbase.com

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308636
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4