Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space WDESIGNER and version 24.0
Syntax
Code Block
languagenone
set deletedObject = aMap.removeMapValue(aKey)
SemanticsRemove the object from map aMap that is identified by akey.
SubstitutablesdeletedObjectoptional: The map entry identified by aKey that is deleted. 
aMap

An object of type Map.

aKeyKey value identifying the map entry.
Examples
Code Block
languagenone
hashMap.removeMapValue("John Snow");
address is an object of type Address.
Tip
titleClear an Entire Map

There is no operation to clear an entire map, but this goal can easily be achieved by two action script statements.

Code Block
languagenone
local entries = hashMap.getMapEntries();
apply hashMap.removeMapValue(element.key) to entries;
rp
Panel
titleRelated Pages:

Children Display
pageMap Operations