On Fri, 29 Sep 2000, Gavin Myers spake thusly:
> 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?

list are variables, and are created as such:
<cfset your_list="1,2,3,4,5">

> 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?

see above

> 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...

see above

> 
> 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/cf-talk@houseoffusion.com/
> 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.
-- 
***********************************************
 Jon Tillman
 LINUX USER: #141163
 ICQ: 4015362
 http://www.eruditum.org
 [EMAIL PROTECTED]
***********************************************
Be alert, the world needs more lerts
***********************************************

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
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