Re: Structures (probably a stupid question)

2005-04-25 Thread Al Everett
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

Re: Structures (probably a stupid question)

2005-04-25 Thread Dave Carabetta
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

Structures (probably a stupid question)

2005-04-24 Thread Thane Sherrington
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

RE: Structures (probably a stupid question)

2005-04-24 Thread Adrian Lynch
-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

Re: Structures (probably a stupid question)

2005-04-24 Thread Sean Corfield
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()

RE: Structures (probably a stupid question)

2005-04-24 Thread Thane Sherrington
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()

Re: Structures (probably a stupid question)

2005-04-24 Thread Thane Sherrington
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

RE: Structures (probably a stupid question)

2005-04-24 Thread Ewok
] 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

RE: Structures (probably a stupid question)

2005-04-24 Thread Jim Davis
-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

Re: Structures (probably a stupid question)

2005-04-24 Thread Will Tomlinson
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