Default language.

Important This documentation space contains information about the on-premises version of BMC Helix Discovery. If you are using the SaaS version of BMC Helix Discovery, see BMC Helix Discovery (SaaS).

table


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];
 log.info("%key% -> %value%");
*end for*;

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*