Skip to content

Commit b36292c

Browse files
committed
blocks: add print-range example
1 parent a9f6fe3 commit b36292c

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<xml xmlns="https://developers.google.com/blockly/xml">
2+
<block type="controls_whileUntil" id="^{D$=!y=ahJx0.^n?Ycr" x="88" y="137">
3+
<field name="MODE">WHILE</field>
4+
<value name="BOOL">
5+
<block type="logic_boolean" id="a;~UtFPf9O3B)#QBJxL6">
6+
<field name="BOOL">TRUE</field>
7+
</block>
8+
</value>
9+
<statement name="DO">
10+
<block type="text_print" id="doqF#i]/ulE{Z0l/{9`K">
11+
<value name="TEXT">
12+
<shadow type="text" id="Y$c,rIaw^bNs2wIw%[^(">
13+
<field name="TEXT">abc</field>
14+
</shadow>
15+
<block type="rangefinder_distance" id="Pi+WekHZvZ0p}JY-^CLQ"></block>
16+
</value>
17+
<next>
18+
<block type="wait" id="=$,8TaKwL75Pb,_tsCVU">
19+
<value name="TIME">
20+
<shadow type="math_number" id="/r+hzH#G0Ru#ES+}MxUl">
21+
<field name="NUM">0.5</field>
22+
</shadow>
23+
</value>
24+
</block>
25+
</next>
26+
</block>
27+
</statement>
28+
</block>
29+
</xml>

0 commit comments

Comments
 (0)