Why have new functions just for counting empty list elements? Why not just add one more parameter to the current list functions - e.g. ListLen(list [, delimiters ] [, count empty elements])? This would maintain backward compatibility.
> | -----Original Message----- > | From: Ben Forta [mailto:[EMAIL PROTECTED]] > | Sent: Wednesday, May 01, 2002 11:37 AM > | To: CF-Talk > | Subject: RE: CF Wishlist > | > | > | Ok folks, I think Lee has just volunteered to coordinate the > | effort <g>, and I am sure Ray and Rob would host the end > | result on cflib.org. > | > | I'll give you a hand making it happen if you'd like. > | > | --- Ben > | > | > | > | > | > | -----Original Message----- > | From: Lee Fuller [mailto:[EMAIL PROTECTED]] > | Sent: Wednesday, May 01, 2002 2:32 PM > | To: CF-Talk > | Subject: RE: CF Wishlist > | > | > | Absolutely agree.. > | > | That's what I discussed in a wish proposal many moons ago. > | (I think you and I actually had this discussion face-to-face > | once. Don't remember > | now.) > | > | Would make it simple and straight-forward. > | > | Lee > | > | > | | -----Original Message----- > | | From: Ben Forta [mailto:[EMAIL PROTECTED]] > | | Sent: Wednesday, May 01, 2002 11:25 AM > | | To: CF-Talk > | | Subject: RE: CF Wishlist > | | > | | > | | For what it is worth, those functions were designed to > simplify > | | working with HTML form fields and the like where empty fields > are > | | irrelevant. I am neither defending or arguing with the > original > | | design, but the fact of the matter is most of us use lists > | not the way > | | they were intended. > | | > | | Problem is, think of how much existing code would break if > | that were > | | changed. The truth is it would be too dangerous to change at > this > | | point. > | | > | | But, there is no reason we could not create replacement list > | | functions. I propose we create parallel functions for every > list > | | function, call these CSVList...() instead of List...(), so > | ListGetAt() > | | would map to CSVListGetAt(), ListFirst() would map to > | CSVListFirst(), > | | and so on. Would be easy to write. > | | > | | Anyone? :-) > | | > | | --- Ben > | | > | | > | | -----Original Message----- > | | From: David Schmidt [mailto:[EMAIL PROTECTED]] > | | Sent: Tuesday, April 30, 2002 12:42 PM > | | To: CF-Talk > | | Subject: CF Wishlist > | | > | | > | | Ok, > | | > | | Have carefully considered what I want from CF, the most > striking > | | feature I want to see is... > | | > | | "Stop treating empty list items as null." That is a list of > | | "3,5,,,3,2,2" should have a length of 7, instead of 5. Doing > this > | | would nearly eliminate the need for any field names like > | | name="cost_#i#", since HTML sends back "3,5,,,3,2,2" for > duplicate > | | text fields named "cost" anyways. > | | > | | > | | > | | > | > | > ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

