Assuming you'd call the structure key weeksarray;
<cfscript>
temp=StructNew();
StructInsert(temp, "weeksarray", "weeks");
</cfscript>
-----Original Message-----
From: Alex Aguilar [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 12, 2001 17:47
To: CF-Talk
Subject: How do I add an existing array to a new structure?
I have a one-dimensional array called Weeks. It looks something like
this:
1 - 12/02/01
2 - 12/09/01
3 - 12/16/01
4 - 12/23/01
5 - 12/30/01
6 - 01/06/02
How do I add it to a new Session.Structure called stSeason?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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