1 line
4.9 KiB
XML
1 line
4.9 KiB
XML
<xml version="Mixly 2.0 rc4" board="Python Robot@飞乙"><block type="storage_fileopen" id="YPiU};PL9:?w-|A,RTw:" x="-1854" y="-572"><field name="MODE">w</field><value name="FILENAME"><shadow type="text" id="[fw|I.?a(QHRQ0Dx,Tk|"><field name="TEXT">test.bin</field></shadow></value><value name="FILE"><shadow type="variables_get" id="hQ}#f#r!a`sCqx,yyZmQ"><field name="VAR">f</field></shadow></value><next><block type="controls_forEach" id="ig^}^$7M}HUDUCs.j=_Y"><value name="LIST"><shadow type="list_many_input" id="L_7mC#_z.+q2$;[tAYkS"><field name="CONTENT">0,1,2,3</field></shadow><block type="controls_range" id="Jj+unRkLxwM!XsF(~kzX"><value name="FROM"><shadow type="math_number" id="Iyy^shpM,Aj].~!Z/@Db"><field name="NUM">0</field></shadow></value><value name="TO"><shadow type="math_number" id="BIAjMVLpM+:]Eyt889VW"><field name="NUM">100</field></shadow></value><value name="STEP"><shadow type="math_number" id="zsWC0|O0rl{S+SMKGJyI"><field name="NUM">1</field></shadow></value></block></value><value name="VAR"><shadow type="variables_get" id="hZ?wL,jz[)a9Ji.bDVN^"><field name="VAR">i</field></shadow></value><statement name="DO"><block type="storage_file_write" id="k8=GZB6k,]hv}WVJuV1["><value name="data"><shadow type="text" id="P|Vkaghg*vza_1A~!=J:"><field name="TEXT">Mixly</field></shadow><block type="number_to_text" id="AqH6]PM|Y]oJRnKp=eb!"><value name="VAR"><shadow type="variables_get" id="KCX/mYl|GYFl6kzpMZDn"><field name="VAR">x</field></shadow><block type="sensor_sound" id="c{=Y@0?}ob11CoxWrPO2"></block></value></block></value><value name="FILE"><shadow type="variables_get" id="{`Qc;~!wuIoQo4iWQM8Z"><field name="VAR">f</field></shadow></value><next><block type="storage_file_write" id="^SZz#|6:;.cCR}NsY,ot"><value name="data"><shadow type="text" id="09P?a!rASsliv8gdyY3p"><field name="TEXT">Mixly</field></shadow><block type="ascii_to_char" id="c^h$~Urq-[RTX93,;`F3"><value name="VAR"><shadow type="math_number" id="ZX}0$cUJ7Uy8RjB^B^qi"><field name="NUM">13</field></shadow></value></block></value><value name="FILE"><shadow type="variables_get" id="=m@RfRZ_]hMK?x}q*?sQ"><field name="VAR">f</field></shadow></value><next><block type="controls_delay_new" id="bk,R3+_2_mf!ofuvX.p}"><field name="Time">ms</field><value name="DELAY_TIME"><shadow type="math_number" id="`g!bk]Gc?l=`5W;YS[pp"><field name="NUM">10</field></shadow></value></block></next></block></next></block></statement><next><block type="storage_close_file" id="Dp}u-d/;Ux@vxHs4/|9l"><value name="FILE"><shadow type="variables_get" id="nQ4Mh;JV[/,S2#;j)L8L"><field name="VAR">f</field></shadow></value><next><block type="storage_fileopen" id="K,_Wb|=gOjWe,2~lU)[="><field name="MODE">r</field><value name="FILENAME"><shadow type="text" id="B,D2=##KleZQK}x}S1[,"><field name="TEXT">test.bin</field></shadow></value><value name="FILE"><shadow type="variables_get" id="{iq?zFxy6RvYr@V^(Pbo"><field name="VAR">f</field></shadow></value><next><block type="variables_set" id="fEuhA?yNnvCxUR3LuQ}}"><field name="VAR">s</field><value name="VALUE"><block type="storage_get_contents_without_para" id=":C1kn.(S^BNHVkGERno`"><field name="MODE">readline</field><value name="FILE"><shadow type="variables_get" id="G`;_fs$dzm.oS/TC7^N."><field name="VAR">f</field></shadow></value></block></value><next><block type="controls_whileUntil" id="1eB*Daw1#.ykYwum*xUL"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="Y*okMFSjv:Blc/GYE=}o"><field name="BOOL">TRUE</field></shadow><block type="variables_get" id=")LlkbFIr!4w}F?oq_!~X"><field name="VAR">s</field></block></value><statement name="DO"><block type="system_print_inline" id="w[jodo7.9?q82yJ8n^CC"><value name="VAR"><shadow type="text" id="c?-6Ly{=sa81B.IQ$Io7"><field name="TEXT">Mixly</field></shadow></value><next><block type="variables_set" id="W7Sf48?FZ#wbXnu-da},"><field name="VAR">s</field><value name="VALUE"><block type="storage_get_contents_without_para" id="?1I.6t5XkLK/LK*:KEIU"><field name="MODE">readline</field><value name="FILE"><shadow type="variables_get" id="C0Tx-8Ju#Bte6j`48P]Q"><field name="VAR">f</field></shadow></value></block></value></block></next></block></statement><next><block type="storage_close_file" id="C3zm0huVFctrH7I9J6P^"><value name="FILE"><shadow type="variables_get" id="|5vY|R},6w96VGW55)6b"><field name="VAR">f</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block><block type="variables_get" id="UL|KT*rQDE$`HkP1fQRa" x="-1694" y="-194"><field name="VAR">s</field></block></xml><config>{}</config><code>ZnJvbSBmZWl5aSBpbXBvcnQgb25ib2FyZF9zb3VuZAppbXBvcnQgdGltZQppbXBvcnQgbWFjaGluZQoKCmYgPSBvcGVuKCd0ZXN0LmJpbicsICd3JykKZm9yIGkgaW4gcmFuZ2UoMCwgMTAwLCAxKToKICAgIGYud3JpdGUoc3RyKG9uYm9hcmRfc291bmQucmVhZCgpKSkKICAgIGYud3JpdGUoY2hyKDEzKSkKICAgIHRpbWUuc2xlZXBfbXMoMTApCmYuY2xvc2UoKQpmID0gb3BlbigndGVzdC5iaW4nLCAncicpCnMgPSBmLnJlYWRsaW5lKCkKd2hpbGUgczoKICAgIHByaW50KCdNaXhseScsZW5kID0iIikKICAgIHMgPSBmLnJlYWRsaW5lKCkKZi5jbG9zZSgpCgpzCg==</code> |