heptagon/test/good/updown.ept

9 lines
182 B
Text
Raw Normal View History

2010-06-21 12:11:06 +02:00
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