blob: b5e618e8da4ca734b892349dd7a275a0733beeed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<scxml datamodel="lua" initial="StateShape1" name="ScxmlShape1" version="1.0" xmlns="http://www.w3.org/2005/07/scxml">
<datamodel>
<data expr="0" id="Var1"/>
<data id="ChangeVar1">
function ()
print("We must not see it!")
Var1 = 555
end
</data>
</datamodel>
<state id="StateShape1">
<transition cond="Var1==0" target="pass"/>
<transition cond="Var1==555" target="fail"/>
</state>
<final id="pass"/>
<final id="fail"/>
</scxml>
|