Functions, Operators, Switch Cases and Truth Tables : Inline Operator

Inline Operator

The inline operator can be used in the Rational Statemate action language to insert code into the MicroC generated code.

Note: The operator is recognized only by the MicroC Code-generator. Rational Statemate Simulation and other code generators ignore the inline operator.

Example:

On a transitions, you can write:

/inline(‘print(“my text\r\n”)’);
 

The “printf” is written into the MicroC generated code.