Methods Without Side Effects

A method that does not change data in the memory is called side-effect-free. If you know that a method is side-effect-free, you can mark it accordingly by activating the Side Effect Free option in the Settings tab of the signature editor.

If Side Effect Free is activated for a method, a code generation error (MMDL96) shall be reported under the following conditions:

The error message is method "<methodName>" declared as side-effect-free, but <reason>, where <reason> is one of the following:

A warning shall be reported in the following cases:

See also

Signature Editor – Settings Tab

Adaptive Characteristic Lines/Maps: Restrictions

Directions of Method Arguments