StructInsert()
Inserts the key and value into the given structure, overwriting if already exists
Usage
BOOLEAN = StructInsert(
struct,
key,
value,
overwrite
)
Argument | Summary |
---|---|
struct | struct1 |
key | key |
value | value |
overwrite | overwrite - default false [optional] |
Calling
Supports named-parameter calling allowing you to use the function like:
StructInsert( struct=?, key=?, value=?, overwrite=? );
Supports passing parameters as a structure using ArgumentCollection:
StructInsert( ArgumentCollection={ struct : ?, key : ?, value : ?, overwrite : ? } );