> Basicly I dont want to use a CF array. I want to make some > array using the CFOBJECT tag, say an array of ints > > int[][] someInt > > Now I want to be able to do a cfset and access an element > of that array I just created using CFOBJECT > > <cfset someInt[0][0] = 2> > <cfset someInt[0][1] = 99> > > But when I make an object using CFOBJECT, I cant specify > [][]? Maybe im just going mad..
No, you can't specify "int[][]" when you instantiate an object using CFOBJECT, because that's not valid CFML syntax. If you want to have a variable in CFML, it'll have to be a CFML variable, if you know what I mean. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

