makeDynMapping()

Returns a dynamic array of mappings.

Synopsis

dyn_mapping makeDynMapping ([mapping m1, mapping m2 ...]);

Parameter

Parameter Description
m1, m2,.. Single mapping elements

Return value

In case of an error an empty array will be returned.

D escription

Returns a dynamic array of mappings with the elements m1, m2,... .

Example

main()
{
  ...
  mapping a;
  mapping b;
  a["1"] = "1";
  a["2"] = "2";
  b["3"] = "3";
  b["4"] = "4";
  dyn_mapping dm = makeDynMapping(a, b);
  DebugN(dm);
  ...
}

Assignment

Dynamic Arrays

Availability

UI, CTRL, DP