Cmd operator (parameters with a unique code)

For probing cycles, parameters can be written to the CLD array in a different order. Each parameter has a unique code by which you can get the value of the parameter.

The syntax for accessing the parameters of the CLData command by numerical code:

  • CmdPrm .ItemCount - number of parameters for the command;

  • CmdPrm.Flt[Code] - return the value of the parameter by its code in the Double value ;

  • CmdPrm.Int[Code] - return the value of the parameter by its code in the Integer value;

  • CmdPrm.Str[Code] - return the value of the parameter by its code in the String value;

  • CmdPrm . Bol [ Code ] - return the value of the parameter by its code in the Boolean value;

  • CmdPrm.IndexOfCode(Code) - find parameter index by its code ;

  • CmdPrm.Item[i].ItemType - parameter type by index (String, Integer, Double, Boolean);

  • CmdPrm.Item[i].Flt - parameter value by index in the Double value;

  • CmdPrm .Item[i].Int - parameter value by index in the Integer value;

  • CmdPrm.Item[i].Str - parameter value by index in the String value;

  • CmdPrm . Item [ i ] . Bol - parameter value by index in the Boolean value;

  • CmdPrm .Item[i].Code - numeric parameter code by index.

In .net postprocessors, everything is almost the same, but access is via the "cmd.Prm" keyword.