ExST Assignment ‘S=’¶
This operator sets a variable. Once the value of the variable to the left of S= has become TRUE, it remains TRUE even if the operand to the right of S= goes FALSE again.
<variable1> S= <variable2>;
Example
bVar1 S= bVar2;
bVar1 obtains the value of bVar2. Once bVar1 has been set to TRUE, bVar1 remains TRUE even if bVar2 becomes FALSE again.
Attention
:strong:Multiple assignments
All set and reset assignments always refer to the last term of the assignment. Example: a S= b R= fun1(par1,par2); In this case b receives the output from fun1 resulting from the reset, but: a does not receive the set result from b, but the set result from fun1!
See also