Titan



setstate


The setstate operation can change the state of the port during a translation procedure. It can only be used inside a function that is called during a translation procedure to translate a sent or received message.

Related keywords:


port.setstate  (SimpleExpression  , {  Freetext | TemplateInstance [ optional ]};


Example 1: set ports state to translated without additional information

port.setstate(0);


Example 2: set the state of the port to not translated with additional information

port.setstate(1, "Not successful");



BNF definition of setstate