so-un-bot/0721_11/wrong2.txt
2022-11-16 17:56:16 +01:00

15 lines
No EOL
226 B
Text

<pre>
class Monitor
InputReal x, y;
OutputBoolean wy;
Boolean wz;
initial equation
wy = false;
equation
wz = (time > 40) or (delay(x, 10) > 1) or (y < 0);
algorithm
when edge(wz) then
wy := true;
end when;
end Monitor;
</pre>