@Pete0815 super. Danke dir. Werde mir Sa mal angucken. Klinge mega interessant.
"Zahl in Worten" umwandeln in "Zahl aus Ziffern"
-
Im "Summary" Datenpunkt tauchen Zahlen immer als Worte auf, statt als Ziffern.
Da dies die weitere (mathematische) Bearbeitung schwierig gestalltet, habe ich mich mal dran versucht in Blockly eine Umwandlung von Worten zu Ziffern zu "zaubern".Klappt im Moment (oder sollte
) bis 999999.
(ignoriert einfach den "Millionen Teil", das will noch nicht)
Hier nur der eigentliche Code zu Umwandlung.
Das Summary bedarfsgerecht zu zerlegen und den Code damit zu füttern wird sicher jeder selbst hin bekommen.Falls es Euch gefällt, dürft Ihr gerne ein "Like" da lassen.
Blockly
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="*!UYOw@r1mz/@;;W}65:">Zahl_in_Worten</variable> <variable id="KGn}JP8,Esu?kl!`jC~G">Zahl_in_Ziffern</variable> <variable id="6FWqVb47T?F]hOfJdBCv">Zahl_als_Liste</variable> <variable type="timeout" id="timeout">timeout</variable> <variable id="c;YzcIPCvqrg|k=G%eXH">wort</variable> <variable type="timeout" id="timeout2">timeout2</variable> <variable id="P?z|wWyeO4uSEl8J5-Za">Operator</variable> <variable id="|BAclTtHV4M8bj;lfT+e">ziffer</variable> </variables> <block type="variables_set" id="0$BH8G]Li{4Q,cVW]@a5" x="88" y="713"> <field name="VAR" id="*!UYOw@r1mz/@;;W}65:">Zahl_in_Worten</field> <value name="VALUE"> <block type="text" id="CHiMv4Xmy3*},YFbB,-p"> <field name="TEXT">zwei hundert zehn tausend acht hundert drei und siebzig</field> </block> </value> <next> <block type="variables_set" id="3sy~,@HnmPrY!j?hEJUs"> <field name="VAR" id="KGn}JP8,Esu?kl!`jC~G">Zahl_in_Ziffern</field> <value name="VALUE"> <block type="math_number" id="9-gR)|2SsXgb(F1MGC1#"> <field name="NUM">0</field> </block> </value> <next> <block type="variables_set" id="i[;f^BBeJJkf3B:m!+TM"> <field name="VAR" id="6FWqVb47T?F]hOfJdBCv">Zahl_als_Liste</field> <value name="VALUE"> <block type="lists_split" id="hxl4.YNjT8+;e,k::rWm"> <mutation mode="SPLIT"></mutation> <field name="MODE">SPLIT</field> <value name="INPUT"> <block type="variables_get" id="Dgu}F!-s`5.R%Qx2wMD:"> <field name="VAR" id="*!UYOw@r1mz/@;;W}65:">Zahl_in_Worten</field> </block> </value> <value name="DELIM"> <shadow type="text" id="R*Ka[W.9YJz_Kv89hiB`"> <field name="TEXT"> </field> </shadow> </value> </block> </value> <next> <block type="timeouts_settimeout" id="kNMiIT/hHYd|3#5Ys]v^"> <field name="NAME">timeout</field> <field name="DELAY">250</field> <field name="UNIT">ms</field> <statement name="STATEMENT"> <block type="controls_forEach" id="KoC8b4M6tTo~M)]S{~#~"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> <value name="LIST"> <block type="variables_get" id="e`Pus9ACQ3Iv49^t:fzf"> <field name="VAR" id="6FWqVb47T?F]hOfJdBCv">Zahl_als_Liste</field> </block> </value> <statement name="DO"> <block type="variables_set" id="hIsX_MNTQyM:F]UoD_l("> <field name="VAR" id="P?z|wWyeO4uSEl8J5-Za">Operator</field> <value name="VALUE"> <block type="text" id="*a:[r,Ww2d7tekJ?IE#7"> <field name="TEXT">+</field> </block> </value> <next> <block type="controls_if" id="/N5YJqa99blRsr30xZM$"> <mutation elseif="30"></mutation> <value name="IF0"> <block type="logic_operation" id="ZPHN9oYHbl;Qj`)Kq?V%"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="B,6WZD]7!FoXPWgmcc^8"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="bb}-$7F7=gF0pEL_3YhD"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="CU1dm$6n9l!UoF6=zM9W"> <field name="TEXT">ein</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="qPm0X#D`*U@RFq`qtQKa"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="jJHnl?5u;;4N[wIs+vA!"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="yaEgGJI{iy-Ox,WdJpGT"> <field name="TEXT">eins</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="psnevPHE:#Gt5^S9J+{i"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="maAJ*:3v9kk^$D[cMWj!"> <field name="NUM">1</field> </block> </value> </block> </statement> <value name="IF1"> <block type="logic_operation" id="{rqmgd{_++DD*,pP|I4K"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="7O}O?:n$DsM9#j5Z~Z9s"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="ohad]c]UMw.ZD*-?pZb:"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="5Iiz3$:P|M{/LZ4j.y!z"> <field name="TEXT">zwei</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="{gVMiHF?EF?(P]D+Tb]K"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="vlze/=:lo+]_%4o=_0Rk"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="xRv$~,r!!ee||F93~`Zd"> <field name="TEXT">zwo</field> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="variables_set" id="CEt%v{Yv`A!FayS6h}mo"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="^-7|s_YFw`%s)|TX`4nT"> <field name="NUM">2</field> </block> </value> </block> </statement> <value name="IF2"> <block type="logic_compare" id="tIkq^0KZ|APKYVsN1ec("> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="6n;97Rx2,u-HeoNcvq[m"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="auK$}$hZHEk,5HF3c#E`"> <field name="TEXT">drei</field> </block> </value> </block> </value> <statement name="DO2"> <block type="variables_set" id="27GA8y-D(TR#ho2n%Zo*"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="4El-g-Q2#6ad;thM8(41"> <field name="NUM">3</field> </block> </value> </block> </statement> <value name="IF3"> <block type="logic_compare" id="|t0V7[%3TcB6t(6Zo#Ex"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="$=2.:Gl4JR^si|%%]=r/"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="?H[.G#`le{8Shv${x:ig"> <field name="TEXT">vier</field> </block> </value> </block> </value> <statement name="DO3"> <block type="variables_set" id=")[_9AIUAW6)R`:D+Z[p+"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="uuGwtVNjYLlvDq$!rwoc"> <field name="NUM">4</field> </block> </value> </block> </statement> <value name="IF4"> <block type="logic_compare" id="-TO?{?Sod4!C4wgcT}J-"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="s|RG.z@JPE(Dq,(T.`JA"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="#MFD-B0fley/F;*[8=4@"> <field name="TEXT">fünf</field> </block> </value> </block> </value> <statement name="DO4"> <block type="variables_set" id="N#pB-zF+7Wp,JUfE%vfN"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="[1%N.k!,%NiE=*3DRh3O"> <field name="NUM">5</field> </block> </value> </block> </statement> <value name="IF5"> <block type="logic_compare" id="0f!IEEir}A-[BsjkZOW]"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="L=Z(d@GQd|bFHM~mf)%b"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="l.-cQ-~1:kA*shI_gF8`"> <field name="TEXT">sechs</field> </block> </value> </block> </value> <statement name="DO5"> <block type="variables_set" id="M)?)fJX$D[C3FTv8G+ZM"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="9,kUix-w.IXQ|:Jh{A$|"> <field name="NUM">6</field> </block> </value> </block> </statement> <value name="IF6"> <block type="logic_compare" id="]~KOj;sTs57nekDNFA-n"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="j3(_kqqpng=k2`fyV`#."> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="]-oT;2TYeH|:9U@=`wmL"> <field name="TEXT">sieben</field> </block> </value> </block> </value> <statement name="DO6"> <block type="variables_set" id="b9Y354gi~B$uh4AOwu,!"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="rr|g/[((Kncyn|=M_(J`"> <field name="NUM">7</field> </block> </value> </block> </statement> <value name="IF7"> <block type="logic_compare" id="[wISNyW)941,x-}b6^x*"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id=")L(~aWE/2IpE7ziZ3t_S"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="hs0m)2Z!*B6P)e[Pu#]N"> <field name="TEXT">acht</field> </block> </value> </block> </value> <statement name="DO7"> <block type="variables_set" id="sJdt19BD_z9!Qf(^w=lk"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="@bR`ftY^?]:(rp5z{`j*"> <field name="NUM">8</field> </block> </value> </block> </statement> <value name="IF8"> <block type="logic_compare" id="lsPs(Q{4S~e9KfxHDYtJ"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="2F~1]b_J{l%6mXR~AO{%"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="F6;Gu:@Fx6kW-7wdUIpc"> <field name="TEXT">neun</field> </block> </value> </block> </value> <statement name="DO8"> <block type="variables_set" id=",zYOyTTLvZXOqg]}EY33"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="Wn{l6X-B~`wLK5w](`,F"> <field name="NUM">9</field> </block> </value> </block> </statement> <value name="IF9"> <block type="logic_compare" id="c+=.qXzR!=1t#U]GJV{O"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="~qVF!Uph+9i-n7%Fl}zB"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="rKdXk71VcnOM9uIe}s~/"> <field name="TEXT">zehn</field> </block> </value> </block> </value> <statement name="DO9"> <block type="variables_set" id="?5]},}WnFjI|.R5SOy/d"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="JI}f/%.;xgdxhC@G!yT0"> <field name="NUM">10</field> </block> </value> </block> </statement> <value name="IF10"> <block type="logic_compare" id="F_@,`OM,/Pl!zS#Pull1"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="VDT9^OAei6}7s7d:W0[H"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="lU/HA6R_[tSpqUTR|^p["> <field name="TEXT">elf</field> </block> </value> </block> </value> <statement name="DO10"> <block type="variables_set" id="72+bn.ootAdBLq8MVq}M"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="=H7zMGW9hwj}j8S,{tG8"> <field name="NUM">11</field> </block> </value> </block> </statement> <value name="IF11"> <block type="logic_compare" id="kpbVtO@4+_VY.FO1gN05"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="NuCq`W1]Hi6no@`4!*%A"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="OU*@96tnj~Df!3GSGq*)"> <field name="TEXT">zwölf</field> </block> </value> </block> </value> <statement name="DO11"> <block type="variables_set" id="_9t5enwV?7AX62QLE2jD"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="sPVy3++z%:05YMvW_vHL"> <field name="NUM">12</field> </block> </value> </block> </statement> <value name="IF12"> <block type="logic_compare" id="C84jw:lpmDgWG*Lyw#g0"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="w@4@hT?q(;bs.n5%6r!v"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="^6Mj0xUS*(iio_tf!]/J"> <field name="TEXT">dreizehn</field> </block> </value> </block> </value> <statement name="DO12"> <block type="variables_set" id="0v$?(Lj0tfv/2R-r-]]c"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="|s$jCe!^B|%Xy=DgmOiC"> <field name="NUM">13</field> </block> </value> </block> </statement> <value name="IF13"> <block type="logic_compare" id="(K~Cat-eA[R{T=6qNhcQ"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="~Kj;ltP]C04n2d}u@4=J"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="uA1g9njh2_u)S(bvN[D0"> <field name="TEXT">vierzehn</field> </block> </value> </block> </value> <statement name="DO13"> <block type="variables_set" id="kX3]rq?ka56K_hxDW0()"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="oH$d|6wDR_HcE7?!X8I8"> <field name="NUM">14</field> </block> </value> </block> </statement> <value name="IF14"> <block type="logic_compare" id="DZX1Hsb`/zTBqf8C8dU1"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="8?:5(`:a?]9^D{MDdsXj"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="rVw/bNZ#DK)e?uElBIi["> <field name="TEXT">fünfzehn</field> </block> </value> </block> </value> <statement name="DO14"> <block type="variables_set" id=".^@;p}VXue_8vjn*f0gu"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="S:qHUf~1z!y0dldOo_})"> <field name="NUM">15</field> </block> </value> </block> </statement> <value name="IF15"> <block type="logic_compare" id="!qIynH!j:2@-kjdl7WcX"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="V.Yp9/?RgxK^xSksJ)]W"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="zoz(rx_8l[uLCWpJw#{q"> <field name="TEXT">sechzehn</field> </block> </value> </block> </value> <statement name="DO15"> <block type="variables_set" id="1)ztetWjyDDPf%k!FGBj"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="YQKjN9_vrFXW;YM8p?Tn"> <field name="NUM">16</field> </block> </value> </block> </statement> <value name="IF16"> <block type="logic_compare" id="LP5sna;)RL8nYZ*7R$C|"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="}T4:sMu-V%t_T%8(_lrF"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="IN(HOqsn=k{QH.]QhsZQ"> <field name="TEXT">siebzehn</field> </block> </value> </block> </value> <statement name="DO16"> <block type="variables_set" id="Z[]UyBV30Np=ZIR0r,SI"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="text" id="B!mMo/6*hT/Zqwh}iboy"> <field name="TEXT">17</field> </block> </value> </block> </statement> <value name="IF17"> <block type="logic_compare" id="L@f8XQ{#pn^qf;XB-lW2"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="%k0GPnZjNq9}oT9%0s~="> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="Z/|EYx]N0_;/PmDfQ[{9"> <field name="TEXT">achtzehn</field> </block> </value> </block> </value> <statement name="DO17"> <block type="variables_set" id="A;K|rkyVSkFoqvWcY58Y"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="text" id="PLgF_Jt*GTEd:~3^jow["> <field name="TEXT">18</field> </block> </value> </block> </statement> <value name="IF18"> <block type="logic_compare" id="Q72YmfC7cvpbrfQx?VT."> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="kcQ{HH_eTnBrBRC;1iEb"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="Y/!^1?stL-Gf0B.HVeog"> <field name="TEXT">neunzehn</field> </block> </value> </block> </value> <statement name="DO18"> <block type="variables_set" id="H|z@LsPA{KZ(q}7d@?de"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="m#q,~51Q#L7.L;v$|CKU"> <field name="NUM">19</field> </block> </value> </block> </statement> <value name="IF19"> <block type="logic_compare" id="|ZJp6GjUf~H]iEb]/xm["> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="H-j#,+a]^YGC.UbF}|9a"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="RHrN=BhOJAC17Dw9B|89"> <field name="TEXT">zwanzig</field> </block> </value> </block> </value> <statement name="DO19"> <block type="variables_set" id="55OiNtUvETfl!d%byUU:"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="]r4~)C.1w9dq1R0r9?J~"> <field name="NUM">20</field> </block> </value> </block> </statement> <value name="IF20"> <block type="logic_compare" id="/=yIo.9aS9PKM%t.Rrd("> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id=":I;0ABiNOfPu_oFOabQ8"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="ozNvk@Yr|lLD=-XgL-9w"> <field name="TEXT">dreißig</field> </block> </value> </block> </value> <statement name="DO20"> <block type="variables_set" id="^2(/OiSKrhL}-eLX8j3f"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="3xf%4#k?iM#N^?(2m56A"> <field name="NUM">30</field> </block> </value> </block> </statement> <value name="IF21"> <block type="logic_compare" id="nYyx{7$|~~tj3vUc^FIH"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="t-nsc!~sLNgQ1:U$;-?,"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="Xwmz1#p-.caD3*FQ=`AX"> <field name="TEXT">vierzig</field> </block> </value> </block> </value> <statement name="DO21"> <block type="variables_set" id="[B$)[2!w5IDSSS{mdA*l"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="D`N|%aw;nywpY8D|6.lK"> <field name="NUM">40</field> </block> </value> </block> </statement> <value name="IF22"> <block type="logic_compare" id="~d3?SYc!u9`9gGI~ot6c"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="0q]n[azbh,@9jozx`/j6"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="Z-O1#[dS%!2|XRlh)b9*"> <field name="TEXT">fünfzig</field> </block> </value> </block> </value> <statement name="DO22"> <block type="variables_set" id="wpR:wn|V.UjP~R1nkxrJ"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="ID|4L=C_#9l~_%GuD5He"> <field name="NUM">50</field> </block> </value> </block> </statement> <value name="IF23"> <block type="logic_compare" id="tR_$P;P@`_KIL=m:d!)a"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="m^|6d7U)y5huwLM_scYU"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="(v|G/5RKX~Po*:nut]O_"> <field name="TEXT">sechzig</field> </block> </value> </block> </value> <statement name="DO23"> <block type="variables_set" id="c/Q=||)@n6+@O@SP-hht"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="D6#3g%LR6`8q,po2l2eh"> <field name="NUM">60</field> </block> </value> </block> </statement> <value name="IF24"> <block type="logic_compare" id="wRRvczqc)M$Y)@Xn|8,5"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="`HPr[m0t]}?7/xn{!$zd"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="d5p+.uj*9DgIa{8euV}D"> <field name="TEXT">siebzig</field> </block> </value> </block> </value> <statement name="DO24"> <block type="variables_set" id="WL?bL2plcY$h%7x%]GgU"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="NdpX*acbJ`b9NfWK[?^}"> <field name="NUM">70</field> </block> </value> </block> </statement> <value name="IF25"> <block type="logic_compare" id="F977ALHNJYn~Ym@N(x~0"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="=Z`)T~$~VQt}A^yA+}59"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="F22b%v%U,!qmhl^yMF6%"> <field name="TEXT">achtzig</field> </block> </value> </block> </value> <statement name="DO25"> <block type="variables_set" id="seQ+ZI,ntdCF0U7lvv?a"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="f%2SGW{NwNHHkEi6U=d-"> <field name="NUM">80</field> </block> </value> </block> </statement> <value name="IF26"> <block type="logic_compare" id="O[zRGl.GnocV68`g,;{Q"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="g`RYf.K8Zb8yx,IgZpKK"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="ht`?-MIt.~m,QvtM+;|c"> <field name="TEXT">neunzig</field> </block> </value> </block> </value> <statement name="DO26"> <block type="variables_set" id="%ui-.g`4+Afn1S2$3TQe"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="4iY_7diIp!z%Dv{jdEu."> <field name="NUM">90</field> </block> </value> </block> </statement> <value name="IF27"> <block type="logic_compare" id="z|D/6geFy@6yV=pt@T$r"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="oyG|N~!r:ieiDobRBHx1"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="3|HjzCy1kUIdudi{NHKr"> <field name="TEXT">hundert</field> </block> </value> </block> </value> <statement name="DO27"> <block type="variables_set" id="3+?]eva,(r1,?fJm;d=)"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="eK4q17@t`TUfv#u`v(jc"> <field name="NUM">100</field> </block> </value> <next> <block type="variables_set" id="3P6nR#A8|lXI6y{-lY*D"> <field name="VAR" id="P?z|wWyeO4uSEl8J5-Za">Operator</field> <value name="VALUE"> <block type="text" id="wm9GCk]kSrdXh|xzE`v5"> <field name="TEXT">*</field> </block> </value> </block> </next> </block> </statement> <value name="IF28"> <block type="logic_compare" id="qPu;My-D.vLa6|~$I@M4"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="APA,?*c)L0f.Gs=aOmEu"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="lQZjkr*=F?v~-3lSK/S!"> <field name="TEXT">tausend</field> </block> </value> </block> </value> <statement name="DO28"> <block type="variables_set" id="ndD2!=_s~!/.D~oNL$(k"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="sR6U`p@EO0lH_qiK58j@"> <field name="NUM">10</field> </block> </value> <next> <block type="variables_set" id=")uMf2I-dUuHy/BhDw.jC"> <field name="VAR" id="P?z|wWyeO4uSEl8J5-Za">Operator</field> <value name="VALUE"> <block type="text" id="mzM5SH#E}wrr9G;dY=pN"> <field name="TEXT">*</field> </block> </value> </block> </next> </block> </statement> <value name="IF29"> <block type="logic_operation" id="cG|2%7;Vh*t?[aJ.?Nw/" disabled="true"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="U0wZ*SW9iZ6WRwRO)cFL"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="9quTO^(O|NM7f6G3.E(h"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="Qn.jbi^6SSIHd!afTzdr"> <field name="TEXT">million</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="I_IxB+9MwppXGpj~Vi~!"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id=":=b3A}ek*)=8hI/P]X5!"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="A~pzG0vIz#/l7/0;?*[3"> <field name="TEXT">millionen</field> </block> </value> </block> </value> </block> </value> <statement name="DO29"> <block type="variables_set" id="XWzG3|#,T*%XdJMJpP3P" disabled="true"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="qdRRSY*35S+7!;@_A}rN"> <field name="NUM">1000</field> </block> </value> <next> <block type="variables_set" id="qcS;Th{]Pd~6(|Hf]hrh" disabled="true"> <field name="VAR" id="P?z|wWyeO4uSEl8J5-Za">Operator</field> <value name="VALUE"> <block type="text" id="m99$D:q#N1YI]$W25V$S"> <field name="TEXT">*</field> </block> </value> </block> </next> </block> </statement> <value name="IF30"> <block type="logic_compare" id="F[^}^j*Bbo1c+_zT5FnN"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="G0Uxtd9NHP;x~bE/6dK$"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="S]U8}A=ut1+MIZxvWOJl"> <field name="TEXT">und</field> </block> </value> </block> </value> <statement name="DO30"> <block type="variables_set" id="c[~icYF|6K98|SJ+=eMC"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="UgTm=$1-M7r%-[OZ(5d;"> <field name="NUM">0</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="2+(eN@BZoVz~{;-:up3z"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="NRt|W$R-EpjksT(Bz^wt"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="#oHaF;i^y`Vb[SCmM^yQ"> <field name="VAR" id="P?z|wWyeO4uSEl8J5-Za">Operator</field> </block> </value> <value name="B"> <block type="text" id="[yX42dSj(/l$+aKD~|e_"> <field name="TEXT">+</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="#[XRc}{MDTK)OqrX40T$"> <field name="VAR" id="KGn}JP8,Esu?kl!`jC~G">Zahl_in_Ziffern</field> <value name="VALUE"> <block type="math_arithmetic" id="F?F93N?+$5@ua#Q-fT!Q"> <field name="OP">ADD</field> <value name="A"> <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="QId{)6%zHV@@)A;sbn|_"> <field name="VAR" id="KGn}JP8,Esu?kl!`jC~G">Zahl_in_Ziffern</field> </block> </value> <value name="B"> <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="KwzU8F8[2!Ig|O-ZGN5/"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> </block> </value> </block> </value> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="OUfCG4uI5^OE`oHw48.$"> <field name="VAR" id="KGn}JP8,Esu?kl!`jC~G">Zahl_in_Ziffern</field> <value name="VALUE"> <block type="math_arithmetic" id="HtGd0#y6APb.gXU8ZHRH"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="{n,~_:W5cB2Hndan)gG+"> <field name="VAR" id="KGn}JP8,Esu?kl!`jC~G">Zahl_in_Ziffern</field> </block> </value> <value name="B"> <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="5}E(k5L4t_7a|y/`^@rA"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> </block> </value> </block> </value> </block> </statement> </block> </next> </block> </next> </block> </statement> </block> </statement> <next> <block type="timeouts_settimeout" id="035hGUAM*YD;$zrcr82["> <field name="NAME">timeout2</field> <field name="DELAY">1000</field> <field name="UNIT">ms</field> <statement name="STATEMENT"> <block type="debug" id="^8S-@6u[leO(3h:k-7hH"> <field name="Severity">warn</field> <value name="TEXT"> <shadow type="text"> <field name="TEXT">test</field> </shadow> <block type="variables_get" id="q`LN`-:~p*5ZAdBSdp2J"> <field name="VAR" id="KGn}JP8,Esu?kl!`jC~G">Zahl_in_Ziffern</field> </block> </value> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </xml>
-
-
@liv-in-sky
Jo, mache hier das auch schon ewig für mein "Erinnerung auf Echo xy" Skript.
Nur dort isses eingeschränkter und ich wollte es mal ein wenig allgemeiner haben- wenn auch noch nicht bis unendlich.
Übrigens, in der Version oben war ein dummer Fehler vom Typ "falscher Variablentyp" drin.
gefixte Version
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="*!UYOw@r1mz/@;;W}65:">Zahl_in_Worten</variable> <variable id="KGn}JP8,Esu?kl!`jC~G">Zahl_in_Ziffern</variable> <variable id="6FWqVb47T?F]hOfJdBCv">Zahl_als_Liste</variable> <variable type="timeout" id="timeout">timeout</variable> <variable id="c;YzcIPCvqrg|k=G%eXH">wort</variable> <variable type="timeout" id="timeout2">timeout2</variable> <variable id="P?z|wWyeO4uSEl8J5-Za">Operator</variable> <variable id="|BAclTtHV4M8bj;lfT+e">ziffer</variable> </variables> <block type="variables_set" id="0$BH8G]Li{4Q,cVW]@a5" x="88" y="713"> <field name="VAR" id="*!UYOw@r1mz/@;;W}65:">Zahl_in_Worten</field> <value name="VALUE"> <block type="text" id="CHiMv4Xmy3*},YFbB,-p"> <field name="TEXT">zwei hundert zehn tausend acht hundert drei und siebzig</field> </block> </value> <next> <block type="variables_set" id="3sy~,@HnmPrY!j?hEJUs"> <field name="VAR" id="KGn}JP8,Esu?kl!`jC~G">Zahl_in_Ziffern</field> <value name="VALUE"> <block type="math_number" id="9-gR)|2SsXgb(F1MGC1#"> <field name="NUM">0</field> </block> </value> <next> <block type="variables_set" id="i[;f^BBeJJkf3B:m!+TM"> <field name="VAR" id="6FWqVb47T?F]hOfJdBCv">Zahl_als_Liste</field> <value name="VALUE"> <block type="lists_split" id="hxl4.YNjT8+;e,k::rWm"> <mutation mode="SPLIT"></mutation> <field name="MODE">SPLIT</field> <value name="INPUT"> <block type="variables_get" id="Dgu}F!-s`5.R%Qx2wMD:"> <field name="VAR" id="*!UYOw@r1mz/@;;W}65:">Zahl_in_Worten</field> </block> </value> <value name="DELIM"> <shadow type="text" id="R*Ka[W.9YJz_Kv89hiB`"> <field name="TEXT"> </field> </shadow> </value> </block> </value> <next> <block type="timeouts_settimeout" id="kNMiIT/hHYd|3#5Ys]v^"> <field name="NAME">timeout</field> <field name="DELAY">250</field> <field name="UNIT">ms</field> <statement name="STATEMENT"> <block type="controls_forEach" id="KoC8b4M6tTo~M)]S{~#~"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> <value name="LIST"> <block type="variables_get" id="e`Pus9ACQ3Iv49^t:fzf"> <field name="VAR" id="6FWqVb47T?F]hOfJdBCv">Zahl_als_Liste</field> </block> </value> <statement name="DO"> <block type="variables_set" id="hIsX_MNTQyM:F]UoD_l("> <field name="VAR" id="P?z|wWyeO4uSEl8J5-Za">Operator</field> <value name="VALUE"> <block type="text" id="*a:[r,Ww2d7tekJ?IE#7"> <field name="TEXT">+</field> </block> </value> <next> <block type="controls_if" id="/N5YJqa99blRsr30xZM$"> <mutation elseif="30"></mutation> <value name="IF0"> <block type="logic_operation" id="ZPHN9oYHbl;Qj`)Kq?V%"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="B,6WZD]7!FoXPWgmcc^8"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="bb}-$7F7=gF0pEL_3YhD"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="CU1dm$6n9l!UoF6=zM9W"> <field name="TEXT">ein</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="qPm0X#D`*U@RFq`qtQKa"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="jJHnl?5u;;4N[wIs+vA!"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="yaEgGJI{iy-Ox,WdJpGT"> <field name="TEXT">eins</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="psnevPHE:#Gt5^S9J+{i"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="maAJ*:3v9kk^$D[cMWj!"> <field name="NUM">1</field> </block> </value> </block> </statement> <value name="IF1"> <block type="logic_operation" id="{rqmgd{_++DD*,pP|I4K"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="7O}O?:n$DsM9#j5Z~Z9s"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="ohad]c]UMw.ZD*-?pZb:"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="5Iiz3$:P|M{/LZ4j.y!z"> <field name="TEXT">zwei</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="{gVMiHF?EF?(P]D+Tb]K"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="vlze/=:lo+]_%4o=_0Rk"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="xRv$~,r!!ee||F93~`Zd"> <field name="TEXT">zwo</field> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="variables_set" id="CEt%v{Yv`A!FayS6h}mo"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="^-7|s_YFw`%s)|TX`4nT"> <field name="NUM">2</field> </block> </value> </block> </statement> <value name="IF2"> <block type="logic_compare" id="tIkq^0KZ|APKYVsN1ec("> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="6n;97Rx2,u-HeoNcvq[m"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="auK$}$hZHEk,5HF3c#E`"> <field name="TEXT">drei</field> </block> </value> </block> </value> <statement name="DO2"> <block type="variables_set" id="27GA8y-D(TR#ho2n%Zo*"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="4El-g-Q2#6ad;thM8(41"> <field name="NUM">3</field> </block> </value> </block> </statement> <value name="IF3"> <block type="logic_compare" id="|t0V7[%3TcB6t(6Zo#Ex"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="$=2.:Gl4JR^si|%%]=r/"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="?H[.G#`le{8Shv${x:ig"> <field name="TEXT">vier</field> </block> </value> </block> </value> <statement name="DO3"> <block type="variables_set" id=")[_9AIUAW6)R`:D+Z[p+"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="uuGwtVNjYLlvDq$!rwoc"> <field name="NUM">4</field> </block> </value> </block> </statement> <value name="IF4"> <block type="logic_compare" id="-TO?{?Sod4!C4wgcT}J-"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="s|RG.z@JPE(Dq,(T.`JA"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="#MFD-B0fley/F;*[8=4@"> <field name="TEXT">fünf</field> </block> </value> </block> </value> <statement name="DO4"> <block type="variables_set" id="N#pB-zF+7Wp,JUfE%vfN"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="[1%N.k!,%NiE=*3DRh3O"> <field name="NUM">5</field> </block> </value> </block> </statement> <value name="IF5"> <block type="logic_compare" id="0f!IEEir}A-[BsjkZOW]"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="L=Z(d@GQd|bFHM~mf)%b"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="l.-cQ-~1:kA*shI_gF8`"> <field name="TEXT">sechs</field> </block> </value> </block> </value> <statement name="DO5"> <block type="variables_set" id="M)?)fJX$D[C3FTv8G+ZM"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="9,kUix-w.IXQ|:Jh{A$|"> <field name="NUM">6</field> </block> </value> </block> </statement> <value name="IF6"> <block type="logic_compare" id="]~KOj;sTs57nekDNFA-n"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="j3(_kqqpng=k2`fyV`#."> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="]-oT;2TYeH|:9U@=`wmL"> <field name="TEXT">sieben</field> </block> </value> </block> </value> <statement name="DO6"> <block type="variables_set" id="b9Y354gi~B$uh4AOwu,!"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="rr|g/[((Kncyn|=M_(J`"> <field name="NUM">7</field> </block> </value> </block> </statement> <value name="IF7"> <block type="logic_compare" id="[wISNyW)941,x-}b6^x*"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id=")L(~aWE/2IpE7ziZ3t_S"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="hs0m)2Z!*B6P)e[Pu#]N"> <field name="TEXT">acht</field> </block> </value> </block> </value> <statement name="DO7"> <block type="variables_set" id="sJdt19BD_z9!Qf(^w=lk"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="@bR`ftY^?]:(rp5z{`j*"> <field name="NUM">8</field> </block> </value> </block> </statement> <value name="IF8"> <block type="logic_compare" id="lsPs(Q{4S~e9KfxHDYtJ"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="2F~1]b_J{l%6mXR~AO{%"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="F6;Gu:@Fx6kW-7wdUIpc"> <field name="TEXT">neun</field> </block> </value> </block> </value> <statement name="DO8"> <block type="variables_set" id=",zYOyTTLvZXOqg]}EY33"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="Wn{l6X-B~`wLK5w](`,F"> <field name="NUM">9</field> </block> </value> </block> </statement> <value name="IF9"> <block type="logic_compare" id="c+=.qXzR!=1t#U]GJV{O"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="~qVF!Uph+9i-n7%Fl}zB"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="rKdXk71VcnOM9uIe}s~/"> <field name="TEXT">zehn</field> </block> </value> </block> </value> <statement name="DO9"> <block type="variables_set" id="?5]},}WnFjI|.R5SOy/d"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="JI}f/%.;xgdxhC@G!yT0"> <field name="NUM">10</field> </block> </value> </block> </statement> <value name="IF10"> <block type="logic_compare" id="F_@,`OM,/Pl!zS#Pull1"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="VDT9^OAei6}7s7d:W0[H"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="lU/HA6R_[tSpqUTR|^p["> <field name="TEXT">elf</field> </block> </value> </block> </value> <statement name="DO10"> <block type="variables_set" id="72+bn.ootAdBLq8MVq}M"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="=H7zMGW9hwj}j8S,{tG8"> <field name="NUM">11</field> </block> </value> </block> </statement> <value name="IF11"> <block type="logic_compare" id="kpbVtO@4+_VY.FO1gN05"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="NuCq`W1]Hi6no@`4!*%A"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="OU*@96tnj~Df!3GSGq*)"> <field name="TEXT">zwölf</field> </block> </value> </block> </value> <statement name="DO11"> <block type="variables_set" id="_9t5enwV?7AX62QLE2jD"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="sPVy3++z%:05YMvW_vHL"> <field name="NUM">12</field> </block> </value> </block> </statement> <value name="IF12"> <block type="logic_compare" id="C84jw:lpmDgWG*Lyw#g0"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="w@4@hT?q(;bs.n5%6r!v"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="^6Mj0xUS*(iio_tf!]/J"> <field name="TEXT">dreizehn</field> </block> </value> </block> </value> <statement name="DO12"> <block type="variables_set" id="0v$?(Lj0tfv/2R-r-]]c"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="|s$jCe!^B|%Xy=DgmOiC"> <field name="NUM">13</field> </block> </value> </block> </statement> <value name="IF13"> <block type="logic_compare" id="(K~Cat-eA[R{T=6qNhcQ"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="~Kj;ltP]C04n2d}u@4=J"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="uA1g9njh2_u)S(bvN[D0"> <field name="TEXT">vierzehn</field> </block> </value> </block> </value> <statement name="DO13"> <block type="variables_set" id="kX3]rq?ka56K_hxDW0()"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="oH$d|6wDR_HcE7?!X8I8"> <field name="NUM">14</field> </block> </value> </block> </statement> <value name="IF14"> <block type="logic_compare" id="DZX1Hsb`/zTBqf8C8dU1"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="8?:5(`:a?]9^D{MDdsXj"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="rVw/bNZ#DK)e?uElBIi["> <field name="TEXT">fünfzehn</field> </block> </value> </block> </value> <statement name="DO14"> <block type="variables_set" id=".^@;p}VXue_8vjn*f0gu"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="S:qHUf~1z!y0dldOo_})"> <field name="NUM">15</field> </block> </value> </block> </statement> <value name="IF15"> <block type="logic_compare" id="!qIynH!j:2@-kjdl7WcX"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="V.Yp9/?RgxK^xSksJ)]W"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="zoz(rx_8l[uLCWpJw#{q"> <field name="TEXT">sechzehn</field> </block> </value> </block> </value> <statement name="DO15"> <block type="variables_set" id="1)ztetWjyDDPf%k!FGBj"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="YQKjN9_vrFXW;YM8p?Tn"> <field name="NUM">16</field> </block> </value> </block> </statement> <value name="IF16"> <block type="logic_compare" id="LP5sna;)RL8nYZ*7R$C|"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="}T4:sMu-V%t_T%8(_lrF"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="IN(HOqsn=k{QH.]QhsZQ"> <field name="TEXT">siebzehn</field> </block> </value> </block> </value> <statement name="DO16"> <block type="variables_set" id="Z[]UyBV30Np=ZIR0r,SI"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="*g22hPP8Yya%KJ8E^_aZ"> <field name="NUM">17</field> </block> </value> </block> </statement> <value name="IF17"> <block type="logic_compare" id="L@f8XQ{#pn^qf;XB-lW2"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="%k0GPnZjNq9}oT9%0s~="> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="Z/|EYx]N0_;/PmDfQ[{9"> <field name="TEXT">achtzehn</field> </block> </value> </block> </value> <statement name="DO17"> <block type="variables_set" id="A;K|rkyVSkFoqvWcY58Y"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="8d.?!pUN3+32`~+/Tdxw"> <field name="NUM">18</field> </block> </value> </block> </statement> <value name="IF18"> <block type="logic_compare" id="Q72YmfC7cvpbrfQx?VT."> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="kcQ{HH_eTnBrBRC;1iEb"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="Y/!^1?stL-Gf0B.HVeog"> <field name="TEXT">neunzehn</field> </block> </value> </block> </value> <statement name="DO18"> <block type="variables_set" id="H|z@LsPA{KZ(q}7d@?de"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="m#q,~51Q#L7.L;v$|CKU"> <field name="NUM">19</field> </block> </value> </block> </statement> <value name="IF19"> <block type="logic_compare" id="|ZJp6GjUf~H]iEb]/xm["> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="H-j#,+a]^YGC.UbF}|9a"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="RHrN=BhOJAC17Dw9B|89"> <field name="TEXT">zwanzig</field> </block> </value> </block> </value> <statement name="DO19"> <block type="variables_set" id="55OiNtUvETfl!d%byUU:"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="]r4~)C.1w9dq1R0r9?J~"> <field name="NUM">20</field> </block> </value> </block> </statement> <value name="IF20"> <block type="logic_compare" id="/=yIo.9aS9PKM%t.Rrd("> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id=":I;0ABiNOfPu_oFOabQ8"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="ozNvk@Yr|lLD=-XgL-9w"> <field name="TEXT">dreißig</field> </block> </value> </block> </value> <statement name="DO20"> <block type="variables_set" id="^2(/OiSKrhL}-eLX8j3f"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="3xf%4#k?iM#N^?(2m56A"> <field name="NUM">30</field> </block> </value> </block> </statement> <value name="IF21"> <block type="logic_compare" id="nYyx{7$|~~tj3vUc^FIH"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="t-nsc!~sLNgQ1:U$;-?,"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="Xwmz1#p-.caD3*FQ=`AX"> <field name="TEXT">vierzig</field> </block> </value> </block> </value> <statement name="DO21"> <block type="variables_set" id="[B$)[2!w5IDSSS{mdA*l"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="D`N|%aw;nywpY8D|6.lK"> <field name="NUM">40</field> </block> </value> </block> </statement> <value name="IF22"> <block type="logic_compare" id="~d3?SYc!u9`9gGI~ot6c"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="0q]n[azbh,@9jozx`/j6"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="Z-O1#[dS%!2|XRlh)b9*"> <field name="TEXT">fünfzig</field> </block> </value> </block> </value> <statement name="DO22"> <block type="variables_set" id="wpR:wn|V.UjP~R1nkxrJ"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="ID|4L=C_#9l~_%GuD5He"> <field name="NUM">50</field> </block> </value> </block> </statement> <value name="IF23"> <block type="logic_compare" id="tR_$P;P@`_KIL=m:d!)a"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="m^|6d7U)y5huwLM_scYU"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="(v|G/5RKX~Po*:nut]O_"> <field name="TEXT">sechzig</field> </block> </value> </block> </value> <statement name="DO23"> <block type="variables_set" id="c/Q=||)@n6+@O@SP-hht"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="D6#3g%LR6`8q,po2l2eh"> <field name="NUM">60</field> </block> </value> </block> </statement> <value name="IF24"> <block type="logic_compare" id="wRRvczqc)M$Y)@Xn|8,5"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="`HPr[m0t]}?7/xn{!$zd"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="d5p+.uj*9DgIa{8euV}D"> <field name="TEXT">siebzig</field> </block> </value> </block> </value> <statement name="DO24"> <block type="variables_set" id="WL?bL2plcY$h%7x%]GgU"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="NdpX*acbJ`b9NfWK[?^}"> <field name="NUM">70</field> </block> </value> </block> </statement> <value name="IF25"> <block type="logic_compare" id="F977ALHNJYn~Ym@N(x~0"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="=Z`)T~$~VQt}A^yA+}59"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="F22b%v%U,!qmhl^yMF6%"> <field name="TEXT">achtzig</field> </block> </value> </block> </value> <statement name="DO25"> <block type="variables_set" id="seQ+ZI,ntdCF0U7lvv?a"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="f%2SGW{NwNHHkEi6U=d-"> <field name="NUM">80</field> </block> </value> </block> </statement> <value name="IF26"> <block type="logic_compare" id="O[zRGl.GnocV68`g,;{Q"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="g`RYf.K8Zb8yx,IgZpKK"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="ht`?-MIt.~m,QvtM+;|c"> <field name="TEXT">neunzig</field> </block> </value> </block> </value> <statement name="DO26"> <block type="variables_set" id="%ui-.g`4+Afn1S2$3TQe"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="4iY_7diIp!z%Dv{jdEu."> <field name="NUM">90</field> </block> </value> </block> </statement> <value name="IF27"> <block type="logic_compare" id="z|D/6geFy@6yV=pt@T$r"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="oyG|N~!r:ieiDobRBHx1"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="3|HjzCy1kUIdudi{NHKr"> <field name="TEXT">hundert</field> </block> </value> </block> </value> <statement name="DO27"> <block type="variables_set" id="3+?]eva,(r1,?fJm;d=)"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="eK4q17@t`TUfv#u`v(jc"> <field name="NUM">100</field> </block> </value> <next> <block type="variables_set" id="3P6nR#A8|lXI6y{-lY*D"> <field name="VAR" id="P?z|wWyeO4uSEl8J5-Za">Operator</field> <value name="VALUE"> <block type="text" id="wm9GCk]kSrdXh|xzE`v5"> <field name="TEXT">*</field> </block> </value> </block> </next> </block> </statement> <value name="IF28"> <block type="logic_compare" id="qPu;My-D.vLa6|~$I@M4"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="APA,?*c)L0f.Gs=aOmEu"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="lQZjkr*=F?v~-3lSK/S!"> <field name="TEXT">tausend</field> </block> </value> </block> </value> <statement name="DO28"> <block type="variables_set" id="ndD2!=_s~!/.D~oNL$(k"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="sR6U`p@EO0lH_qiK58j@"> <field name="NUM">10</field> </block> </value> <next> <block type="variables_set" id=")uMf2I-dUuHy/BhDw.jC"> <field name="VAR" id="P?z|wWyeO4uSEl8J5-Za">Operator</field> <value name="VALUE"> <block type="text" id="mzM5SH#E}wrr9G;dY=pN"> <field name="TEXT">*</field> </block> </value> </block> </next> </block> </statement> <value name="IF29"> <block type="logic_operation" id="cG|2%7;Vh*t?[aJ.?Nw/" disabled="true"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="U0wZ*SW9iZ6WRwRO)cFL"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="9quTO^(O|NM7f6G3.E(h"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="Qn.jbi^6SSIHd!afTzdr"> <field name="TEXT">million</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="I_IxB+9MwppXGpj~Vi~!"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id=":=b3A}ek*)=8hI/P]X5!"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="A~pzG0vIz#/l7/0;?*[3"> <field name="TEXT">millionen</field> </block> </value> </block> </value> </block> </value> <statement name="DO29"> <block type="variables_set" id="XWzG3|#,T*%XdJMJpP3P" disabled="true"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="qdRRSY*35S+7!;@_A}rN"> <field name="NUM">1000</field> </block> </value> <next> <block type="variables_set" id="qcS;Th{]Pd~6(|Hf]hrh" disabled="true"> <field name="VAR" id="P?z|wWyeO4uSEl8J5-Za">Operator</field> <value name="VALUE"> <block type="text" id="m99$D:q#N1YI]$W25V$S"> <field name="TEXT">*</field> </block> </value> </block> </next> </block> </statement> <value name="IF30"> <block type="logic_compare" id="F[^}^j*Bbo1c+_zT5FnN"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="G0Uxtd9NHP;x~bE/6dK$"> <field name="VAR" id="c;YzcIPCvqrg|k=G%eXH">wort</field> </block> </value> <value name="B"> <block type="text" id="S]U8}A=ut1+MIZxvWOJl"> <field name="TEXT">und</field> </block> </value> </block> </value> <statement name="DO30"> <block type="variables_set" id="c[~icYF|6K98|SJ+=eMC"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> <value name="VALUE"> <block type="math_number" id="UgTm=$1-M7r%-[OZ(5d;"> <field name="NUM">0</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="2+(eN@BZoVz~{;-:up3z"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="NRt|W$R-EpjksT(Bz^wt"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="#oHaF;i^y`Vb[SCmM^yQ"> <field name="VAR" id="P?z|wWyeO4uSEl8J5-Za">Operator</field> </block> </value> <value name="B"> <block type="text" id="[yX42dSj(/l$+aKD~|e_"> <field name="TEXT">+</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="#[XRc}{MDTK)OqrX40T$"> <field name="VAR" id="KGn}JP8,Esu?kl!`jC~G">Zahl_in_Ziffern</field> <value name="VALUE"> <block type="math_arithmetic" id="F?F93N?+$5@ua#Q-fT!Q"> <field name="OP">ADD</field> <value name="A"> <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="QId{)6%zHV@@)A;sbn|_"> <field name="VAR" id="KGn}JP8,Esu?kl!`jC~G">Zahl_in_Ziffern</field> </block> </value> <value name="B"> <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="KwzU8F8[2!Ig|O-ZGN5/"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> </block> </value> </block> </value> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="OUfCG4uI5^OE`oHw48.$"> <field name="VAR" id="KGn}JP8,Esu?kl!`jC~G">Zahl_in_Ziffern</field> <value name="VALUE"> <block type="math_arithmetic" id="HtGd0#y6APb.gXU8ZHRH"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="{n,~_:W5cB2Hndan)gG+"> <field name="VAR" id="KGn}JP8,Esu?kl!`jC~G">Zahl_in_Ziffern</field> </block> </value> <value name="B"> <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="5}E(k5L4t_7a|y/`^@rA"> <field name="VAR" id="|BAclTtHV4M8bj;lfT+e">ziffer</field> </block> </value> </block> </value> </block> </statement> </block> </next> </block> </next> </block> </statement> </block> </statement> <next> <block type="timeouts_settimeout" id="035hGUAM*YD;$zrcr82["> <field name="NAME">timeout2</field> <field name="DELAY">1000</field> <field name="UNIT">ms</field> <statement name="STATEMENT"> <block type="debug" id="^8S-@6u[leO(3h:k-7hH"> <field name="Severity">warn</field> <value name="TEXT"> <shadow type="text"> <field name="TEXT">test</field> </shadow> <block type="variables_get" id="q`LN`-:~p*5ZAdBSdp2J"> <field name="VAR" id="KGn}JP8,Esu?kl!`jC~G">Zahl_in_Ziffern</field> </block> </value> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </xml>
Support us
Suggested Topics
-
0
Votes3
Posts46
Views -
0
Votes4
Posts57
Views -
0
Votes12
Posts410
Views -
0
Votes21
Posts601
Views -
0
Votes12
Posts77
Views -
0
Votes4
Posts137
Views -
1
Votes2
Posts123
Views -
[gelöst] Änderung von Objekt inenrhalb eines Scripts (Blockly)
Skripten / Logik • blockly • • jmeister790
Votes3
Posts102
Views