I agree about that in general terms, but looking at this situation, if he's got the data from a query, its probably already ordered, why go through the hassle of converting it to something else for little/no benefit?
if its needs to be reordered then you could just QofQ it... I guess it depends what you want to do with it. > -----Original Message----- > From: Mark Smyth [mailto:[EMAIL PROTECTED] > Sent: 05 March 2003 15:40 > To: '[EMAIL PROTECTED]' > Subject: RE: [ cf-dev ] Structure or Array? > > > but generally if the data needs to be ordered use an array, > if not use a > structure > > -----Original Message----- > From: Rich Wild [mailto:[EMAIL PROTECTED] > Sent: 05 March 2003 15:30 > To: '[EMAIL PROTECTED]' > Subject: RE: [ cf-dev ] Structure or Array? > > > keep it query form? seems simplest to me. > > > -----Original Message----- > > From: Dave Phipps [mailto:[EMAIL PROTECTED] > > Sent: 05 March 2003 15:33 > > To: ColdFusion User group > > Subject: [ cf-dev ] Structure or Array? > > > > > > > > > > Hi, > > > > If I want to build the following data from a query what would > > the best > > method to use be? > > > > The data would look something like this: > > > > storyid = 12345443535 > > storyid.journoid = 343223121112 > > storyid.journoid = 392482480934 > > storyid.journoid = 329084112312 > > > > storyid = 09098877898 > > storyid.journoid = 346546546542 > > storyid.journoid = 392478957934 > > storyid.journoid = 654654654612 > > > > and so on. > > > > Any ideas on the best way to approach this? Should I use > > structures or > > arrays. The data will be generated from a query. > > > > Thanks > > > > Dave > > > > > > -- > > ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > For human help, e-mail: [EMAIL PROTECTED] > -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
