RE: CFMX Structure Sorting

2002-09-19 Thread Raymond Camden
PROTECTED] Yahoo IM : cfjedimaster My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Sean Daniels [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 18, 2002 8:21 PM To: CF-Talk Subject: Re: CFMX Structure Sorting On Wednesday, September 18, 2002

RE: CFMX Structure Sorting

2002-09-18 Thread Raymond Camden
The doc is talking about the changes to StructKeyList. In CF5, the list was sorted. In MX, it's the order you enter them. cfset test = structNew() cfset test.b = 1 cfset test.a = 1 cfoutput#structKeyList(test)#/cfoutput In CFMX, this returns b,a - in CF5, it returns a,b.

Re: CFMX Structure Sorting

2002-09-18 Thread Sean Daniels
On Wednesday, September 18, 2002, at 03:31 PM, Sean Daniels wrote: OK, so I've read the livedocs explaining the changes to the way structures behave in MX, but I'm not finding it to be the case... here's what the docs say: ColdFusion MX returns struct keys in the order that you create

RE: CFMX Structure Sorting

2002-09-18 Thread Raymond Camden
-Original Message- From: Sean Daniels [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 18, 2002 4:27 PM To: CF-Talk Subject: Re: CFMX Structure Sorting On Wednesday, September 18, 2002, at 03:31 PM, Sean Daniels wrote: OK, so I've read the livedocs explaining the changes to the way

Re: CFMX Structure Sorting

2002-09-18 Thread Sean Daniels
On Wednesday, September 18, 2002, at 05:18 PM, Raymond Camden wrote: If you look at the values for lab, you will see opts[0][lab] = Option A: opts[1][lab] = Editor opts[2][lab] = Creator You looped over Opts, so it returns 0,1,2, which would be Option A,Editor,Creator