Assigns a value to a variable.
Variable assignments differ from Assign Variable actions in two key ways:
- They are allowed only at the top level of an experiment. They cannot be declared inside a Protocol or other component.
- They are executed when the experiment loads, instead of at run time. The assignment takes place after regular variables are created, but before the creation of selection variables or other components.
In MWEL, top-level assignments are automatically converted into variable assignments.
|Allowed at top level:||Yes|