House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

Yay CFML enhancements

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Rick Root
06/28/2007 09:46 AM

I didn't catch this little enhancement in any of my previous CF8 presos, but apparently the ListToArray() function has been enhanced to understand empty list elements. I didn't notice if the other list functions have.. and I forgot to ask. but... ListToArray("5,3,,4") *can* be handled properly now (it's an optional argument, which I can't remember off the top of my head right now) I don't know about the rest of you, but I got awfully tired of writing code that would cause CF to handle empty list elements properly. Rick

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Bobby Hartsfield
06/28/2007 10:12 AM

Nice.. there goes my custom solution. I was gonna make millions too!... ok maybe not so much millions as... 1's .:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com I didn't catch this little enhancement in any of my previous CF8 presos, but apparently the ListToArray() function has been enhanced to understand empty list elements. I didn't notice if the other list functions have.. and I forgot to ask. but... ListToArray("5,3,,4") *can* be handled properly now (it's an optional argument, which I can't remember off the top of my head right now) I don't know about the rest of you, but I got awfully tired of writing code that would cause CF to handle empty list elements properly. Rick

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Andrew Scott
06/28/2007 11:05 AM

And there goes Allaire saying it was desiged that way and will never fix it too. If that is true, a very big yaaahh. ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Jordan Michaels
06/28/2007 01:05 PM

Amen brother! =) Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ BlueDragon Alliance Member jordan@viviotech.net Rick Root wrote: ----- Excess quoted text cut - see Original Post for more -----


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Designer, Developer and mobile workflow conference