1) Pretty much so.
2) You can pass a list like you would any string.  Arrays are a bit
trickier.  If you need to pass an array, you could use ArrayToList, or for
more complex arrays, convert them to a WDDX packet.
3) Since a list is just a structured string, you can do this to initialise
an empty list:
<cfset mylist = "">
and then use ListAppend and whatnot to programmatically add to the list.

--
Jamie Keane
Programmer
SolutionMasters, Inc.
9111 Monroe Rd., Suite 100
Charlotte, NC  28270
www.solutionmasters.com
704.563.5559 x 228  Voice
704.849.9291  Fax
-----Original Message-----
From: Gavin Myers <[EMAIL PROTECTED]>
To: CF-Talk <[EMAIL PROTECTED]>
Date: Friday, September 29, 2000 12:34 PM
Subject: ...list...array


>okay, i've been getting into lists and arrays but i cant find very much
good
>reference
>
>1: is a list just a 1d array?
>2: how do you carry a list/array through pages? Is the only way to do it
via
>application.cfm and locking the list/array?
>3: i can figgure out how to make a new array, pretty tough arraynew(1) ;),
>but how do you make a new list? couldnt find the function for it...
>
>I'm pretty famaliar with arrays, they arent a very tough concept, my main
>problem is syntax, wich i can put togethor via developin web applications
>(the cf standard book). How to compare them to another when done, how to
add
>the person picked the letter b on the third question... most of this stuff
i
>can figgure out by looking at the functions.. my main problem is question
>#2.
><cfset myarray = array()>
>
>when i do this:
><cfset myarray[1]="1">
><cfset myarray[2]="2">
><cfset myarray[3]="3">
>
>It bascially does this:
>myarray = [1,2,3]
>
>right?
>
>a list really looks & seems to act like a 1d array
>---------------------------------------------------------------------------
---
>Archives: http://www.mail-archive.com/[email protected]/
>To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to