heptagon/test/good/updown.ept
2010-06-21 12:11:06 +02:00

9 lines
No EOL
182 B
Text

node updown(on_off : bool) returns (o : bool)
let
automaton
state Down
do o = false until on_off then Up
state Up
do o = true until on_off then Down
end;
tel