Just a guess, but I think AllowOverwrite will be a boolean value.

Adrian

-----Original Message-----
From: Jenny Gavin-Wear
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:299883
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to