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
anArray.buildMap("aKeyName")
Semantics

Build a map from anArray. The operation returns a value of type Map.

SubstitutablesanArrayCan be any variable or object attribute having the type Array and having array elements of complex type.
aKeyNameName of the key attribute of the complex type in double quotes.
Examples
Code Block
languagenone
create hashMap;
set hashMap = recordArray.buildMap("name");
recordArray is an array containing elements of type Address.
Tip

buildMap() is a convenient method, if you need a map indexing an array.

rp
Panel
titleRelated Pages:

Children Display
pageMap Operations