1 line
4.6 KiB
XML
1 line
4.6 KiB
XML
<xml version="Mixly 2.0 rc4" board="Python ESP32-S3@元控青春"><block type="storage_fileopen" id="B!dgJ#@NFrZpbXr.GHCb" x="-1453" y="-501"><field name="MODE">w</field><value name="FILENAME"><shadow type="text" id="`@sgqz:o@JzIt$1#*0z6"><field name="TEXT">test.txt</field></shadow></value><value name="FILE"><shadow type="variables_get" id="QR^NMQ_;*sE)^8U.,do]"><field name="VAR">f</field></shadow></value><next><block type="controls_forEach" id="G.:df/aGpCodaM@HgzFV"><value name="LIST"><shadow type="list_many_input" id=",+doun6:hvd}K|6ZalmB"><field name="CONTENT">0,1,2,3</field></shadow><block type="controls_range" id="7NUb5e@;P:i~_=(|k}*#"><value name="FROM"><shadow type="math_number" id="DZ*uzo.kp6|/Ej;c~_Wb"><field name="NUM">0</field></shadow></value><value name="TO"><shadow type="math_number" id="B-]R[xPxmP-6b_;~5UJP"><field name="NUM">100</field></shadow></value><value name="STEP"><shadow type="math_number" id="m)`lqK9tgU3y_n|CeR1W"><field name="NUM">1</field></shadow></value></block></value><value name="VAR"><shadow type="variables_get" id="!dg^[Lk@Cqa]]WlvW{TA"><field name="VAR">i</field></shadow></value><statement name="DO"><block type="storage_file_write" id="{/u^s{NFG3es@xShasCe"><value name="data"><shadow type="text" id="7v)rRSRLQJ8QjsB/xNe="><field name="TEXT">Mixly</field></shadow><block type="number_to_text" id="x*]_y1@jLsr/]J/a8)IE"><value name="VAR"><shadow type="variables_get" id="#ckYzru7qp7BV.NZg=l`"><field name="VAR">x</field></shadow><block type="variables_get" id="jtv-,v|wJ2^s2UJCm|D-"><field name="VAR">i</field></block></value></block></value><value name="FILE"><shadow type="variables_get" id="httJw9Z}5P`64s:JQ|jp"><field name="VAR">f</field></shadow></value><next><block type="storage_file_write" id="zKgUpp#QJH!/@O9jGOd+"><value name="data"><shadow type="text" id="7v)rRSRLQJ8QjsB/xNe="><field name="TEXT">Mixly</field></shadow><block type="ascii_to_char" id="=|.MSB;dz}aI,(li|C6a"><value name="VAR"><shadow type="math_number" id="z|4ZWrJ.c-bT))j^=GtX"><field name="NUM">13</field></shadow></value></block></value><value name="FILE"><shadow type="variables_get" id="{2]M]fU^D)6lfi)@jatM"><field name="VAR">f</field></shadow></value></block></next></block></statement><next><block type="storage_close_file" id="_aM],j(5l,`V}tLS6*0K"><value name="FILE"><shadow type="variables_get" id="Q(]5AfIH9]LY|dTq5{go"><field name="VAR">f</field></shadow></value><next><block type="storage_fileopen" id="!!w#J6zQ-q@_f7A)5|Hj"><field name="MODE">r</field><value name="FILENAME"><shadow type="text" id="`W23]hfu;$p[y7XdUaBs"><field name="TEXT">test.txt</field></shadow></value><value name="FILE"><shadow type="variables_get" id="^]u*VBv{jl3hobGB,I9d"><field name="VAR">f</field></shadow></value><next><block type="variables_set" id="A#I@gCdHY7r|7;l;_OB$"><field name="VAR">s</field><value name="VALUE"><block type="storage_get_contents_without_para" id="r)TFE8~c_Y,FG$FGNyFU"><field name="MODE">readline</field><value name="FILE"><shadow type="variables_get" id="$m!{Ju`77pbCt7C1IVdz"><field name="VAR">f</field></shadow></value></block></value><next><block type="controls_whileUntil" id="x0.8EcDpcp2#7w_5m[gl"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="$BHf8u@5(5;(mq8JIY7F"><field name="BOOL">TRUE</field></shadow><block type="variables_get" id="Cb)az{M34i9H)~q9fDbt"><field name="VAR">s</field></block></value><statement name="DO"><block type="system_print" id="]MswUIWJn{_?KqR!l(DF"><value name="VAR"><shadow type="text" id="IweC+,qh!]*k{/:ED{L3"><field name="TEXT">Mixly</field></shadow><block type="variables_get" id="p)@.{HEI[eKl,db3)L/W"><field name="VAR">s</field></block></value><next><block type="variables_set" id="x!2@,xIlFcu)VjrdcQp}"><field name="VAR">s</field><value name="VALUE"><block type="storage_get_contents_without_para" id="s(AgxWdgIY/JPLRaA42g"><field name="MODE">readline</field><value name="FILE"><shadow type="variables_get" id="FyN1kyXa,+GZdaX:EuXw"><field name="VAR">f</field></shadow></value></block></value></block></next></block></statement><next><block type="storage_close_file" id=";.HY?U2g]/YHq]]pKPcL"><value name="FILE"><shadow type="variables_get" id="AC0SBpQ,7wR#*v[n9o7U"><field name="VAR">f</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></xml><config>{}</config><code>aW1wb3J0IG1hY2hpbmUKCgpmID0gb3BlbigndGVzdC50eHQnLCAndycpCmZvciBpIGluIHJhbmdlKDAsIDEwMCwgMSk6CiAgICBmLndyaXRlKHN0cihpKSkKICAgIGYud3JpdGUoY2hyKDEzKSkKZi5jbG9zZSgpCmYgPSBvcGVuKCd0ZXN0LnR4dCcsICdyJykKcyA9IGYucmVhZGxpbmUoKQp3aGlsZSBzOgogICAgcHJpbnQocykKICAgIHMgPSBmLnJlYWRsaW5lKCkKZi5jbG9zZSgpCg==</code> |