This documentation supports the 20.08 version of BMC Discovery.

To view an earlier version of the product, select the version from the Product version menu.


table( [ parameters ] )

Creates a new table.With no parameters, creates an empty table. If parameters are given, initializes the table with items where the keys are the parameter names and the values are the parameter values.

Table items are accessed with square brackets, and a for loop iterates over the table keys. For example:

things := table();
things["one"] := 1;
things["two"] := 2;

for key in things do
  value := things[key];"%key% -> %value%");
end for;
Was this page helpful? Yes No Submitting... Thank you