I have a map variable with a string as key and a structure as value.
I want to change the content of the structure
image?
These two variants do not work
Thanks for help
I have a map variable with a string as key and a structure as value.
I want to change the content of the structure
image?
These two variants do not work
Thanks for help
Keys
and Values
are likely to return copies. You have to use the direct map functions instead: Add
and Remove
( Add
will overwrite your element if it already exists ).
Perfect, it works, thanks for help.
Glad it worked, please don’t forget to mark the answer as accepted for future Googlers
Thanks! Didn’t expect Add to replace the existing key.