Initialization of %M Variables¶
After download or restart, all %M variables will be initialized to 0. This can be prevented by setting the “no_init” attribute.
In doing so the %M variables behave similar to the “VAR RETAIN PERSISTENT” variables.
In the example above variable “ProzMivar” has the attribute “no_init”. This variable will not be initialized and keeps its last value.
The attribute “no_init” is always and only valid for the next following variable (see Attributes: Attribute ‘noinit’
The following two variables “Proz MivarField” and “Proz Mivar1” will be further on initialized to 0.