InitValue

Syntax

&Variable.InitValue:any

The attribute InitValue resets a value, which the Variable recorded during a simulation run, to an initial value during the init phase of the next simulation run.

Note:

The Data types table, list, stack, queue, and randtime do not provide this feature.

Data Type of the Value You Can Assign

You can assign a value of data type any.

Example

&MyVariable.InitValue := 0

Related Topic

Initial value