>> Here's one I've used: >> >> <cfset theStruct = structNew()> >> <cfloop list="#theList#" index="item"> >> <cfset theStruct[item] = 0> >> </cfloop> >> <cfset newList = structKeyList(theStruct)>
Very clever Mark, that is by far the simplest solution so far. There's definitely more than one way to skin a cat. My test script is running that option at about 90 to 100 ms . I'll attach the files for your reference. - Jason
createList.cfm
Description: createList.cfm
listTest.cfm
Description: listTest.cfm
--- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/
