On 11/2/01, Raymond Camden penned:
>It's not that important, but I'd like to argue against this. CF isn't
>stupid about lists. If you say that the comma is a delimiter, then it's
>going to treat every delimiter as a comma. You can see the same
>behaviour in Java using StringTokenizers. Sure, you can say, "Well, if I
>put a comma between quotes, it should be ignored", but that's one of
>those things that's easy for us to say as a human, but is pretty complex
>for a computer. (Ie, you can build programs that run fast, but building
>a program with common sense is a lot more difficult. ;)

I would like to see ColdFusion recognize a qualifier. Other programs 
do it easily enough.

<cfloop index="listitem" list="#mylist#" qualifier = "#chr(34)#">

I'd also like it if they would make it recognize empty list items as 
just that, i.e;

A,B,,D

So listgetat(mylist, 4) would return D and not an error that the list 
has only 3 items.

In those 2 regards I'd agree that CF isn't too bright where lists are 
concerned.
-- 

Bud Schneehagen - Tropical Web Creations

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development
[EMAIL PROTECTED]
http://www.twcreations.com/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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

Reply via email to