ignore please .. sorted -----Original Message----- From: Jenny Gavin-Wear [mailto:[EMAIL PROTECTED] Sent: 26 February 2008 13:25 To: CF-Talk Subject: InsertStruct
I can't find an example of the correct syntax for the AllowOverWrite option, does anyone have an example, please? Jenny <cfset Response = StructNew()> <cfloop list="#CFHTTP.FileContent#" index="line" delimiters="#chr(13)#"> <cfset line = Trim( line )> <cfset StructInsert( Response, Trim( ListFirst( line, "=" ) ), Trim(Mid(line,Find("=",line)+1,len(line)) ), AllowOverwrite)> </cfloop> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299881 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4