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()
myArray[1].FName = "Sean"
myArray[1].LName = "Corfield"
myArray[1].EMail = "[EMAIL PROTECTED]"
myArray[2] = structNew()
....etc...

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.showBookDetails&ISBN=0975264702
-- 
Sean A Corfield -- http://corfield.org/
Team Fusebox -- http://fusebox.org/
Got Gmail? -- I have 50, yes 50, invites to give away!

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204166
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to