Debian Codegraph @

online/static/samples/Plotting Datasets/Create a List.xml

raw symbols SCIP
1 <xml xmlns="https://developers.google.com/blockly/xml">
2 <description>
3 <![CDATA[
4
5 ## Introduction to lists
6
7 In this example we have done the following
8
9 + Created an empty list using the create list block
10 + Dragged a `set list to` block and attached it to the create list block
11 + renamed the list to mylist
12
13 + Display the list on the screen using the print block
14
15
16 ]]>
17 </description>
18
19 <variables>
20 <variable id="1+GAo?@z+(,^32-UFg++">mylist</variable>
21 </variables>
22 <block type="variables_set" id="EM.NIo4B[5O%SKI]P^Ff" x="0" y="0">
23 <field name="VAR" id="1+GAo?@z+(,^32-UFg++">mylist</field>
24 <value name="VALUE">
25 <block type="lists_create_with" id="PXEETt+2ksQY+Z|9bQj)">
26 <mutation items="0"></mutation>
27 </block>
28 </value>
29 <next>
30 <block type="lists_setIndex" id="3??u/BDV,DCTNtcaT]_=">
31 <mutation at="false"></mutation>
32 <field name="MODE">INSERT</field>
33 <field name="WHERE">LAST</field>
34 <value name="LIST">
35 <block type="variables_get" id="~^G}$_*){;;5g2vv3$l-">
36 <field name="VAR" id="1+GAo?@z+(,^32-UFg++">mylist</field>
37 </block>
38 </value>
39 <value name="TO">
40 <block type="math_number" id="H?jOH3^b==(3czLvH.Ob">
41 <field name="NUM">1</field>
42 </block>
43 </value>
44 <next>
45 <block type="lists_setIndex" id="AD7TwhK{i}l-Xyf_7[5K">
46 <mutation at="false"></mutation>
47 <field name="MODE">INSERT</field>
48 <field name="WHERE">LAST</field>
49 <value name="LIST">
50 <block type="variables_get" id="z:GqfJa=W#.Mj(~2M}5u">
51 <field name="VAR" id="1+GAo?@z+(,^32-UFg++">mylist</field>
52 </block>
53 </value>
54 <value name="TO">
55 <block type="math_number" id="!oe4att3ki|,,)Y%3;ps">
56 <field name="NUM">2</field>
57 </block>
58 </value>
59 <next>
60 <block type="lists_setIndex" id="v*#hQt0.*+rhbrACmGq9">
61 <mutation at="false"></mutation>
62 <field name="MODE">INSERT</field>
63 <field name="WHERE">LAST</field>
64 <value name="LIST">
65 <block type="variables_get" id="y_+/0R%:{50-{iLr!~HV">
66 <field name="VAR" id="1+GAo?@z+(,^32-UFg++">mylist</field>
67 </block>
68 </value>
69 <value name="TO">
70 <block type="math_number" id="F1$j0td|%7037{K$mj+^">
71 <field name="NUM">3</field>
72 </block>
73 </value>
74 <next>
75 <block type="cs_print" id="OvdOc).Qgs|:`SiWRgDA">
76 <value name="TEXT">
77 <shadow type="text" id="W#9%QeySd^mGaf5S3@at">
78 <field name="TEXT">abc</field>
79 </shadow>
80 <block type="variables_get" id="}fF?4J{eCMNAnRv^-h[6">
81 <field name="VAR" id="1+GAo?@z+(,^32-UFg++">mylist</field>
82 </block>
83 </value>
84 </block>
85 </next>
86 </block>
87 </next>
88 </block>
89 </next>
90 </block>
91 </next>
92 </block>
93 </xml>