forked from google/blockly
-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsample.xml
67 lines (67 loc) · 2.45 KB
/
sample.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<xml xmlns="http://www.w3.org/1999/xhtml">
<variables>
<variable type="" id="7gmf.o0opM2*Y0$95Xv*">count</variable>
</variables>
<block type="on_start" id="3zi/F838J{]z`u2sOwAy" x="38" y="13">
<statement name="STMTS">
<block type="variables_set" id="u;:BgkEw07cVd%QWWy|_">
<field name="VAR" id="7gmf.o0opM2*Y0$95Xv*" variabletype="">count</field>
<value name="VALUE">
<block type="math_number" id=",@3g:]LmR.jMQ?dkOVeo">
<field name="NUM">0</field>
</block>
</value>
</block>
</statement>
</block>
<block type="app" id="a+fa^[wDegFmxc]0oS)*" x="38" y="88">
<mutation items="3"></mutation>
<value name="ADD0">
<block type="label" id="iP(ppbW~bgVwE{uY3ZCF">
<field name="NAME">my_label</field>
<field name="PADDING">5</field>
</block>
</value>
<value name="ADD1">
<block type="button" id="C9k`r{IwfwWbtEqn9tw!">
<field name="NAME">my_button</field>
<field name="TITLE">Press Me</field>
<field name="PADDING">5</field>
</block>
</value>
</block>
<block type="widgets_defreturn" id="}ggypf|bz!fTICk_[bN]" x="38" y="187">
<field name="NAME">my_label</field>
<value name="RETURN">
<block type="variables_get" id="5Qfvt?a#qJ]ow$7{/F.|">
<field name="VAR" id="7gmf.o0opM2*Y0$95Xv*" variabletype="">count</field>
</block>
</value>
</block>
<block type="widgets_defnoreturn" id="on[)x(-*wwqqpST6`+$}" x="37" y="313">
<field name="NAME">my_button</field>
<statement name="STACK">
<block type="variables_set" id="+`t4VSP2GAe%4nSdW40I">
<field name="VAR" id="7gmf.o0opM2*Y0$95Xv*" variabletype="">count</field>
<value name="VALUE">
<block type="math_arithmetic" id="wF(J#r9b-l5W5k$*-sg,">
<field name="OP">ADD</field>
<value name="A">
<shadow type="math_number" id="X/gy5eKt6K.Z.[TfIdI`">
<field name="NUM">1</field>
</shadow>
<block type="variables_get" id="b[t|v|7RR73g)rSpp`89">
<field name="VAR" id="7gmf.o0opM2*Y0$95Xv*" variabletype="">count</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id=",)krx?Q@g{CengYXN}n#">
<field name="NUM">1</field>
</shadow>
</value>
</block>
</value>
</block>
</statement>
</block>
</xml>