You're limited to one value per key. But the value can be a struct or an
array. 

So you could do:

<cfset mainStruct = StructNew() />
<cfset subStruct = StructNew() />

<cfset subStruct.One = A />
<cfset subStruct.Two = b />

<cfset mainStruct.Something = subStruct />

Then you would reference the values:
mainStruct.Something.One
mainStruct.Something.Two

______________________________
Dave Konopka

http://www.lifelikeweeds.com/tech


-----Original Message-----
From: Scott Stewart [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 09, 2007 9:25 AM
To: CF-Talk
Subject: RE: Structures

No, "A" and "B" are separate values.

sas

-- 
Scott Stewart
ColdFusion Developer
 
SSTWebworks
7241 Jillspring Ct.
Springfield, Va. 22152
(703) 220-2835
 
http://www.sstwebworks.com
-----Original Message-----
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 09, 2007 9:19 AM
To: CF-Talk
Subject: RE: Structures

Possibly. Is "b" the value of "A"? If each item on the left is meant to
be a
key with it's intended value on the right, then by all means. Put that
bad
boy into a structure. 

-----Original Message-----
From: Scott Stewart [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 09, 2007 8:12 AM
To: CF-Talk
Subject: Structures

Hey all,  

 

I have series of values that looks like this (sort of)

 

A, b

C, d

E, f

G, h

 

Can I put this into a structure?

 

Thanks

 

sas

 

-- 

Scott Stewart

ColdFusion Developer

 

SSTWebworks

7241 Jillspring Ct.

Springfield, Va. 22152

(703) 220-2835

 

HYPERLINK "http://www.sstwebworks.com"http://www.sstwebworks.com

 


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.0.0/751 - Release Date: 4/7/2007
10:57 PM
 








~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274842
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to