Ordering would be my concern. There is no guarantee that the keys will come out
in the order that you put them in the structure, or that the order will be
maintained over multiple instantiations of the array. I've never tested it to
see how it behaves, and as Jim pointed out, even if by chance it works, you
should not count on such behavior for a solution.
-----Original Message-----
From: "Jim Davis"<[EMAIL PROTECTED]>
Sent: 2/20/06 8:58:15 AM
To: "[email protected]"<[email protected]>
Subject: RE: [CFCDev] Is it possible to get a section of a structure?
Remember that structures are inherently without order - there really isn't a
stable concept of "the first ten elements" when it comes to structs. In CF
Structs _tend_ to maintain order but there's no guarantee of that in this or
future versions. Adding elements to a struct could change the physical
order of the elements (structs are, in theory, stored to save space and make
random access easier, not to maintain order).
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to
[email protected] with the words 'unsubscribe cfcdev' as the subject of the
email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.com).
An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]