StructUpdate (structure, key, value) DescriptionUpdates an existing key with a new value. Example<cfscript> Products = StructNew(); StructInsert(Products, "ProductName", "Blizzard Blender"); StructInsert(Products, "ProductID", 1001); StructInsert(Products, "SKU", "555-6582"); StructUpdate(Products, "ProductName", "Hardcore Chopper"); StructUpdate(Products, "ProductID", 1200); StructUpdate(Products, "SKU", "666-7892"); </cfscript> <cfoutput> These are the keys in the struct: #StructKeyList(Products)#. </cfoutput> |