Sure they can Neil,

<cfscript>
        myArray = arraynew(1);
        myArray[1].myStruct = structnew();
        myArray[1].myStruct.name = "Aaron";
</cfscript>

Works for me.

Aaron Johnson, MCSE, MCP+I
Allaire Certified ColdFusion Developer
MINDSEYE, Inc.
<phn>617.350.0339
<fax>617.350.8884
<icq>66172567
[EMAIL PROTECTED] 


> -----Original Message-----
> From: Neil Clark [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 30, 2001 11:10 AM
> To: CF-Talk
> Subject: RE: Arrays and Structures storing query values
> 
> 
> 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/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to