StructInsert (structure, key, value[, allowoverwrite]) DescriptionInserts a key-value pair into a structure. Example<cfscript> Products = StructNew(); StructInsert(Products, "ProductName", "Blizzard Blender"); StructInsert(Products, "ProductID", 1001); StructInsert(Products, "SKU", "555-6582"); </cfscript> <cfoutput> The values in the structure are #StructKeylist(Products)#. </cfoutput> |