Lists aren't real data structures in CF. They are just a string.

So, this is a list:

<cfset x = "ray">

Or

<cfset y = "ray,camden">

Or

<cfset z = "1989 chevrolet covette zr-1">

In the 'z' example - the string can be treated as a list if you use
space " " as a delimiter. (It can also be used as a list w/ the default
delimiter, comma, however it will be a list with only one item.)

Basically, ANY string can be treated as a list.

=======================================================================
Raymond Camden, ColdFusion Jedi Master for Hire

Email    : [EMAIL PROTECTED]
Yahoo IM : cfjedimaster

"My ally is the Force, and a powerful ally it is." - Yoda 

> -----Original Message-----
> From: Tony Weeg [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, August 14, 2002 10:19 AM
> To: CF-Talk
> Subject: list question
> 
> 
> duhhh....brain fart this morning
> 
> how the heck do I make a new
> list?  I can see fine how to append values
> to a list, but whats the first thing to do to
> make a new list?
> 
> ..tony
> 
> Tony Weeg
> Senior Web Developer
> Information System Design
> Navtrak, Inc.
> Fleet Management Solutions
> www.navtrak.net
> 410.548.2337 
> 
> 
______________________________________________________________________
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