The thing that helped me understand structures more than anything else
was the good old CFDUMP tag. When I could see the structure it all
made sense.
On 4/24/05, Thane Sherrington [EMAIL PROTECTED] wrote:
At 12:57 PM 24/04/2005, Sean Corfield wrote:
If you're just getting your head around
On 4/25/05, Al Everett [EMAIL PROTECTED] wrote:
The thing that helped me understand structures more than anything else
was the good old CFDUMP tag. When I could see the structure it all
made sense.
The only thing to keep in mind if you're going to rely on CFDUMP to
learn structures is that
I'm trying to understand structures - I understand that they are like the
form scope in that I can access them as myStruct.myVar, but is there a way
to create an array of structures? I'm thinking it would be nice to create
a structure like:
myStruct.FName
myStruct.LName
myStruct.EMail
And
-Talk
Subject: Structures (probably a stupid question)
I'm trying to understand structures - I understand that they are like the
form scope in that I can access them as myStruct.myVar, but is there a way
to create an array of structures? I'm thinking it would be nice to create
a structure like
On 4/24/05, Thane Sherrington [EMAIL PROTECTED] wrote:
I'm trying to understand structures - I understand that they are like the
form scope in that I can access them as myStruct.myVar, but is there a way
to create an array of structures?
myArray = arrayNew(1)
myArray[1] = structNew()
At 12:57 PM 24/04/2005, Adrian Lynch wrote:
cfset myArrayOfStructs = ArrayNew(1)
cfset myArrayOfStructs[1] = StructNew()
cfset myArrayOfStructs[1].FName = Adrian
cfset myArrayOfStructs[1].LName = Lynch
cfset myArrayOfStructs[1].EMail = [EMAIL PROTECTED]
cfset myArrayOfStructs[2] = StructNew()
At 12:57 PM 24/04/2005, Sean Corfield wrote:
If you're just getting your head around this stuff, I strongly suggest
you buy Jeff Peters' book: ColdFusion Lists, Arrays Structures:
http://www.protonarts.com/index.cfm?fuseaction=Books.showBookDetailsISBN=0975264702
Thanks for the suggestion. I
]
Sent: Sunday, April 24, 2005 11:21 AM
To: CF-Talk
Subject: Structures (probably a stupid question)
I'm trying to understand structures - I understand that they are like the
form scope in that I can access them as myStruct.myVar, but is there a way
to create an array of structures? I'm thinking
-Original Message-
From: Thane Sherrington [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 24, 2005 11:21 AM
To: CF-Talk
Subject: Structures (probably a stupid question)
I'm trying to understand structures - I understand that they are like the
form scope in that I can access them
At 12:57 PM 24/04/2005, Sean Corfield wrote:
If you're just getting your head around this stuff, I strongly suggest
you buy Jeff Peters' book: ColdFusion Lists, Arrays Structures:
Excellent advice. Jeff Peters' book is a great read. Real world examples, etc..
Will
10 matches
Mail list logo