heptagon/test/good/bad_updown.ept
Léonard Gérard 8f4411e145 Recursives Qualnames.
In order to have a correct handling of inner classes in Java, and to prepare for modules inside modules.
2011-02-07 14:24:17 +01:00

13 lines
261 B
Plaintext

node updown(b : bool) returns (o : bool)
var o2,on_off:bool;
let
on_off = true;
automaton
state Down
do o2 = false until on_off then Up
state Up
do o2 = true until on_off then Down
end;
o = merge b (true-> o2) (false -> false)
tel