SetAttribute function (automation interface)
The
SetAttribute function is being deprecated and you should use the
SetAttribute2 function instead. The
SetAttribute2 function can work with different instances of a state machine. For more information, see
Set Attribute Function .
Syntax:
SetAttribute(<handle to listener dll>,"<attribute>","<value>")
Where:
• <handle to listener dll> is a numeric value that specifies the id of the active listener dll, which is returned by the CreateStateMachine and GetStateMachineHandle functions.
• <attribute> is a string that specifies the name of the attribute. For more information, see
Identifying attributes.
• <value> is a string that specifies the value you want to set as a string.
This function sets the value of the attribute as specified and returns a Boolean value to indicate success or failure.
Examples
SetAttribute(57980432,"Status","2")