sure they can, i do it all the time.

<cfset astAuthors = arrayNew(1)>
<cfset astAuthors[1] = structNew()>
<cfset astAuthors[1].firstname = 'jeff'>
<cfset astAuthors[1].lastname = 'tapper'>
<cfset astAuthors[2] = structNew()>
<cfset astAuthors[2].firstname = 'ben'>
<cfset astAuthors[2].lastname = 'forta'>

works fine for me.

At 04:09 PM 4/30/01 +0100, you wrote:
>I think you need to do it the other wat around - Structures can hold arrays,
>I dont think arrays can store structures.
>
>N
>
><!-----------------------------
>Neil Clark
>Senior Web Applications Engineer
>XML / Cerebro
>MCB Digital
>Macromedia Alliance Member
>Tel: 020 8941 3232
>Fax: 020 8941 4333
>e-mail: [EMAIL PROTECTED]
>---------------------------->
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to