>I can't find an example of the correct syntax for the AllowOverWrite option,
>does anyone have an example, please?

>I can't find an example of the correct syntax for the AllowOverWrite option,
>does anyone have an example, please?

Note, using "false" causes CF to throw an exception if the key already exists.

<cfset structInsert(theStruct, "someKey", "someValue", true)>
<cfset structInsert(theStruct, "someKey", "someValue", false)>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:299885
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