Documentation for Axxon PSIM 1.0.0-1.0.1.

Previous page The GetParam method  The MsgToString method Next page


The SetParam method sets a value to the specified parameter of the MsgObject or Event object. The method changes only the specified parameters of an object, other parameters remain unchanged.

Syntax for method invocation:

 function SetParam(param : String, value : String)

Method arguments:

  1. param is a required argument. It corresponds to the parameter name of the system object for which the MsgObject object (or the Event static object) was created. Possible values: String type, range is limited by the parameters available for the given object.
  2. value is a required argument. It sets the value to the parameter specified in the param argument. Possible values: String type, range depends on the set parameter.

Example. See the example in GetParam method.