Files
mixly3/boards/default/micropython_esp32c3/examples/3xtn-eVfIEev/Bc0R4zqZpGF5.mix
2024-07-23 20:47:22 +08:00

1 line
4.6 KiB
XML

<xml version="Mixly 2.0 rc4" board="Python ESP32-C3@MixGo CC"><block type="storage_fileopen" id="f@[~VE1]Z`K$`9BlG@|9" x="-1749" y="-505"><field name="MODE">w</field><value name="FILENAME"><shadow type="text" id="_D3|E/`Sb]oP6HI_2Awf"><field name="TEXT">test.txt</field></shadow></value><value name="FILE"><shadow type="variables_get" id="vsb}PE6aW#@#!9Rgvs,k"><field name="VAR">f</field></shadow></value><next><block type="controls_forEach" id="#zF;:UwBJ|P!Yf;lQKU-"><value name="LIST"><shadow type="list_many_input" id="=hm9oV:st,?*D})Lr0IE"><field name="CONTENT">0,1,2,3</field></shadow><block type="controls_range" id="_Zt4;+d}EwEk}ik]nR0!"><value name="FROM"><shadow type="math_number" id="Roi-WRBKUm(_Y_JmF|u1"><field name="NUM">0</field></shadow></value><value name="TO"><shadow type="math_number" id="aP_C7r$[Y5NKJ(2v?(xV"><field name="NUM">100</field></shadow></value><value name="STEP"><shadow type="math_number" id="eq{3a$1$pJQe,QH(A?/Q"><field name="NUM">1</field></shadow></value></block></value><value name="VAR"><shadow type="variables_get" id="Zc5k6;Jn-Do)chNV0udL"><field name="VAR">i</field></shadow></value><statement name="DO"><block type="storage_file_write" id="xRb38C4Ce=~nM~;TV{ED"><value name="data"><shadow type="text" id="SUE2b*h,noizF;;U.:b."><field name="TEXT">Mixly</field></shadow><block type="number_to_text" id="QW^=8?nNcN)q~er26@#)"><value name="VAR"><shadow type="variables_get" id="Dxe2=VJYtH_96#Z-N*-#"><field name="VAR">x</field></shadow><block type="variables_get" id="2q$ksh?:l_88C)wAT)=K"><field name="VAR">i</field></block></value></block></value><value name="FILE"><shadow type="variables_get" id="D6$B${oURMR7?3j[ljlN"><field name="VAR">f</field></shadow></value><next><block type="storage_file_write" id="ppwWZr!k-1R2GRjmog?o"><value name="data"><shadow type="text" id="(Lqh@Z942=6@a8~3_Pd|"><field name="TEXT">Mixly</field></shadow><block type="ascii_to_char" id="HT^pNckHDB:2M`m,Arax"><value name="VAR"><shadow type="math_number" id="~o9Wfa!Bc9D(7O-W`Fr$"><field name="NUM">13</field></shadow></value></block></value><value name="FILE"><shadow type="variables_get" id="Rg-GRd]*aiS7)iJA|eL;"><field name="VAR">f</field></shadow></value></block></next></block></statement><next><block type="storage_close_file" id="Gus8|q9Q;,?f9f)|I|7!"><value name="FILE"><shadow type="variables_get" id="hHpp!+xCG~QG$,UGZ=SO"><field name="VAR">f</field></shadow></value><next><block type="storage_fileopen" id="L;=5=/|_VH/A_ppKdFPs"><field name="MODE">r</field><value name="FILENAME"><shadow type="text" id="GEoJX;oiOqtG}!u1F.*`"><field name="TEXT">test.txt</field></shadow></value><value name="FILE"><shadow type="variables_get" id="FnLAOo/X~hZ2ZYM:h$*1"><field name="VAR">f</field></shadow></value><next><block type="variables_set" id="VS,vD]TQV9h1pLx#m@$K"><field name="VAR">s</field><value name="VALUE"><block type="storage_get_contents_without_para" id="{2Q8hk6{mCNv]1EkCKor"><field name="MODE">readline</field><value name="FILE"><shadow type="variables_get" id="bn}8OQ5C,eCC=iyDuFZ!"><field name="VAR">f</field></shadow></value></block></value><next><block type="controls_whileUntil" id="zJfAl{-wP}FR]J`5.!;O"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="A!UT2NR6R;l*i|WMLZ,B"><field name="BOOL">TRUE</field></shadow><block type="variables_get" id="fx?xB5hl_~?ml9SlYf=y"><field name="VAR">s</field></block></value><statement name="DO"><block type="system_print_inline" id="U-FFw)JAeVQ{VJ}@tNY$"><value name="VAR"><shadow type="text" id="ceiPk:)P+L4urRU*x}i{"><field name="TEXT">Mixly</field></shadow><block type="variables_get" id="}@V5=nw?dB[$D[8f)i-)"><field name="VAR">s</field></block></value><next><block type="variables_set" id="A56:.X(zLx/-)Z8-jhcE"><field name="VAR">s</field><value name="VALUE"><block type="storage_get_contents_without_para" id="9e{XGYh@z@h/Ov;}!ID["><field name="MODE">readline</field><value name="FILE"><shadow type="variables_get" id="?ZJT93u;YCZ-D#Yr@vo6"><field name="VAR">f</field></shadow></value></block></value></block></next></block></statement><next><block type="storage_close_file" id="ZU#1KNQrQZIMlW+#~#;M"><value name="FILE"><shadow type="variables_get" id="1A.|r7rZ9.([*xc/jaAG"><field name="VAR">f</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></xml><config>{}</config><code>aW1wb3J0IG1hY2hpbmUKCgpmID0gb3BlbigndGVzdC50eHQnLCAndycpCmZvciBpIGluIHJhbmdlKDAsIDEwMCwgMSk6CiAgICBmLndyaXRlKHN0cihpKSkKICAgIGYud3JpdGUoY2hyKDEzKSkKZi5jbG9zZSgpCmYgPSBvcGVuKCd0ZXN0LnR4dCcsICdyJykKcyA9IGYucmVhZGxpbmUoKQp3aGlsZSBzOgogICAgcHJpbnQocyxlbmQgPSIiKQogICAgcyA9IGYucmVhZGxpbmUoKQpmLmNsb3NlKCkK</code>