StructInsert(structure, key, value [, allowoverwrite ])
Inserts the specified key-value pair into the specified structure. Returns Yes if the insert was successful and No if an error occurs.
See also StructClear, StructDelete, StructFind, StructIsEmpty, StructKeyExists, StructCount, StructNew, and StructUpdate.
Structure to contain the new key-value pair.
Key that contains the inserted value.
Value to be added.
Optionally indicates whether to allow overwriting an existing key. The default is FALSE.
This function throws an exception if structure does not exist or if key exists and allowoverwrite is set to FALSE.