> First off - I am not *asking* them to be ordered, I am > asking them to be in the order that I place them into > the structure, with what you are stating Ray : this is > how structures should behave yes?
I'm not Ray, but the answer is still "no". The contents of structures are ordered - in fact, in reality, they have to be ordered somehow, but the issue is that you can't make assumptions about the internal ordering of structures. This is similar to SQL - a set-based language. In a database table, you can't actually tell the physical order of the rows within the table by looking at the data itself. You have to know how the table is constructed (you have to know about indexes, typically) to discern how the data is physically ordered. In any case, the physical ordering is largely irrelevant - you don't want to count on that physical ordering, as it may be arbitrarily chosed so as to improve search performance. For example, if you place a clustered index on a "natural primary key", as opposed to the surrogate primary key you may have created, the database will typically insert rows all over the map, more or less, in order to store them in a specific physical order corresponding to the clustered index. > But CF is taking my inserted keys and then changing the > order I have placed them in, therefore it is CF which > is re-ordering the structure and with this, it is true > that a structure is ordered (in some way) Again, everything has to be ordered in some fashion. The key is simply that the ordering is internal, and can be arbitrary, so you can't rely on it for any useful information. If you want to store information in which the ordering is significant, you typically use an array. > That said, if I do not find an answer, I will use the 00X > notation as I know I will not have more than 1000 objects > in any given structure. As for using Arrays; I am pretty > sure I cannot use them as I am storing complex datatypes > within the structure such as WDDX packets and other such > types/variables - but that may not be the case? You can store anything you like within an array. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ______________________________________________________________________ Why Share? Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

