blob: 8d1d2b8cd1e587e2bf973664e4928f6a86596b05 (
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>
|