L PROTECTED]
:<>: Sent: Saturday, August 23, 2003 10:13 PM
:<>: To: CF-Talk
:<>: Subject: Looping through an Array
:<>:
:<>:
:<>: I'm having some trouble on the OUTPUT end of this:
:<>:
:<>: I'm setting up an array and passing the values to a coo
I'm having some trouble on the OUTPUT end of this:
I'm setting up an array and passing the values to a cookie using cfwddx for
use on any number of pages within a site, like so:
So far so good, no errors.
#ArrayLen(roomVAR)# is showing the proper array size...so I know it's all i
Gene,
You can loop through 2/3D arrays like this:
...load the array...
#mytest[outerloop][innerloop]#
The same holds true in 3d - just add an additional loop. Note that you
must reference the particular dimension element you are in when starting a
new loop
Taking this one step further, I'd be interested in seeing an example of the best way
to
loop through a 3-dim array. ArrayLen only shows the length of the first dimension -
how
do you determine the size of the 2nd and 3rd?
Gene Kraybill
> > Is there a way that i can loop through an array and
my C++ skills failed to come back to me for a few mins
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message t
Thank you so much !!! :)
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubs
> Is there a way that i can loop through an array and display
> all the items
Why, certainly:
Item #i#: #myarray[i]#
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
--
Is there a way that i can loop through an array and display all the items
kev
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_t
8 matches
Mail list logo