<snapdata remixID="14955417"><project name="U3L2R Metro access control" app="Snap! 11.0.8, https://snap.berkeley.edu" version="2"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAQAElEQVR4AeydB3RVxdqG35NwElqQImCCaCAgLUjEiwqEItJEhCi/isLVoILLe7HXhSyxY0VQrgg2ior8CxURKYo0sYCAIE1AIPTQQ0iIAQI3z+jmnpOEcBKEnDJZ6z2z9/T55s3MnplvZsKO2z8rgRKUQJjsn5VACUrAErAEhW+Tlgok4OLFi7Vu3Tpt2LDhrGPNmjVKSUmxdRMiEshHwDlz5ujcc89VRESEwsPDzzpKly6trKwsrVq1KkSqILSLGeZZ/IULFyo2Nla536R64403tG/fPr355psaOnSowdq1a7Vo0SL17NlTy5cv18yZM9W3b1/9+OOPBtOmTdMrr7xiwo8ePVrJycnGL2QeOXKkRowYoa1bt5q4SIvwQ4cOFX4xt23bZsKWKVNGBw8e9MyafQ5SCXgRsFKlSjp27JhBci552rVrp6uuukrp6emqUKGCvvvuO23evFmJiYmqWrWqVqxYoW7duumzzz7TkSNHtHPnTtWsWdOER15t27bV5ZdfLlq1sLAwJSUlafLkyapRo4bo5q+//npFRUXhVZGRkdq/f78JSx6In3SNYwE/aWlpWr16tVauXFk8FCMc5SsgK9bqNCTgRUDiofUDZcuWNa0fxDjnnHPUpEkTgwsvvFAVK1bUli1bDLkqV65siFW+fHnVrVtXF198sWnFMGlBW7durYyMDPXp00fjx4/XfffdJ+KDhHS1MTExJgytZLNmzUxY0ndAnvJizpw5piUlDOQuLspERmjD3IlKmT2+UGyaN1EVcv9R+IfgnzAzMzNvlux7MSXgRUAqndYHk8rt0qWLEhISNHDgQNGaXXnllca8++67RevYsWNHde7c2aBNmzbGpMWjJeV90KBBxn+5cuWEHe+QpUePHurVq5dpGW+88Ubht+dNN5qW1knfMfOWa9myZapevbr5Nt27d69SUlKUnZ1tWs/Dhw/rZOCfYM+ePcb/H3/8YfytmP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VgUXgRras/S6DECPjuu++KtVl0+JiD80VIjILRRuHyQo6BozX0JZz1478SKDECMh/HKaujR49W9+7dlZycLJ6dJTEVIDOmYjiuzbZ6BQgnQK1KjIDIa9iwYWaags1FzJnRGqJrh0rVE088YQi5adMmvFoEqQRKlICMXjm+11O2fNuhyh4bG2vIyVG/nu72ObgkUKIEfOqpp4R6O9rGiYmJSkpK0tixY4WqO6sS6Nq53e7gkrgtjZcESoyA7OWIj4/XkCFDjILAQw89pNtuu80ofnrl0L4EtQRKjIBdu3YVygHMmQW1hG3hCpVAiRGw0FyFtmNIld4SMKSq2/8Kawnof3USUjmyBAyp6va/wloC+l+dhFSOLAFDqrr9r7CWgP5XJyGVIy8ChlTJbWH9QgKWgH5RDaGbCUvA0K17vyi5JaBfVEPoZsISMHTr3i9K/l8AAAD//xiXVJgAAAAGSURBVAMATNnsnZmN0U0AAAAASUVORK5CYII=</thumbnail><scenes select="1"><scene name="U3L2R Metro access control"><notes></notes><palette><category name="Hummingbird" color="8,155,171,1"/><category name="Finch" color="8,155,171,1"/><category name="micro:bit" color="8,155,171,1"/></palette><hidden> receiveCondition reportAtan2 reportVariadicMin reportVariadicMax reportPipe receiveUserEdit getPosition reportMousePosition doDefineBlock doSetBlockAttribute doDeleteBlock reportBlockAttribute reportEnvironment reportJSFunction reportNewCostumeSkewed receiveSlotEvent doSetSlot receiveConditionEvent reportColor reportColorAttribute reportNewColor reportPoll</hidden><headers></headers><code></code><blocks><block-definition s="Hummingbird %&apos;devId&apos; Position Servo %&apos;port&apos; %&apos;position&apos; °" type="command" category="Hummingbird"><header></header><code></code><translations>ko:Hummingbird _ 위치 제어 서보 _ _ °&#xD;de:Hummingbird _ Position Servo _ _ °&#xD;pt:Hummingbird _ Posição do Servo _ _ °&#xD;fr:Hummingbird _ Position Servo _ _ °&#xD;nl:Hummingbird _ Positie-Servo _ _ °&#xD;zh_CN:Hummingbird _ 位置伺服 _ _ °&#xD;zh_TW:Hummingbird _ 位置伺服 _ _ °&#xD;ar:Hummingbird _ موقف محرك سيرفو المؤازر _ _&#xD;dk:Hummingbird _ Positionsservo _ _ °&#xD;he:Hummingbird _ סרוו כיוון _ _&#xD;es:Hummingbird _ Servo de posicion _ _ °&#xD;ca:Hummingbird _ Servo posicional _ _ °&#xD;fi:Hummingbird _ Asentoservo _ _ °&#xD;sv:Hummingbird _ Positionsservo _ _ °&#xD;</translations><inputs><input type="%txt" readonly="true">A<options>A&#xD;B&#xD;C</options></input><input type="%n" readonly="true">1<options>1&#xD;2&#xD;3&#xD;4</options></input><input type="%n">90</input></inputs><script><block s="doApplyExtension"><l>src_load(url)</l><list><l>https://www.birdbraintechnologies.com/downloads/installers/BirdBrainExtension.js</l></list></block><block s="doApplyExtension"><l>bbt_bitpositionservo(robot, port, position)</l><list><block var="devId"/><block var="port"/><block var="position"/></list></block><block s="doWait"><l>0.03</l></block></script></block-definition><block-definition s="Hummingbird %&apos;devId&apos; Rotation Servo %&apos;port&apos; %&apos;speed&apos; %" type="command" category="Hummingbird"><header></header><code></code><translations>ko:Hummingbird _ 회전속도 제어 서보 _ _ %&#xD;de:Hummingbird _ Drehung Servo _ _ %&#xD;pt:Hummingbird _ Rotação do Servo _ _ %&#xD;fr:Hummingbird _ Rotation Servo _ _ %&#xD;nl:Hummingbird _ Draai-Servo _ _ %&#xD;zh_CN:Hummingbird _ 旋转伺服 _ _ %&#xD;zh_TW:Hummingbird _ 旋轉伺服 _ _ %&#xD;ar:Hummingbird _ فتحة دوران المحرك المؤازر _ _&#xD;dk:Hummingbird _ Rotationsservo _ _ %&#xD;he:Hummingbird _ סרוו סיבובים _ _ %&#xD;es:Hummingbird _ Servo de rotacion _ _ %&#xD;ca:Hummingbird _ Servo rotacional _ _ %&#xD;fi:Hummingbird _ Kiertoservo _ _ %&#xD;sv:Hummingbird _ Rotationsservo _ _ %&#xD;</translations><inputs><input type="%txt" readonly="true">A<options>A&#xD;B&#xD;C</options></input><input type="%n" readonly="true">1<options>1&#xD;2&#xD;3&#xD;4</options></input><input type="%n">0</input></inputs><script><block s="doApplyExtension"><l>src_load(url)</l><list><l>https://www.birdbraintechnologies.com/downloads/installers/BirdBrainExtension.js</l></list></block><block s="doApplyExtension"><l>bbt_bitrotationservo(robot, port, speed)</l><list><block var="devId"/><block var="port"/><block var="speed"/></list></block><block s="doWait"><l>0.03</l></block></script></block-definition><block-definition s="Hummingbird %&apos;devId&apos; LED %&apos;port&apos; %&apos;intensity&apos; %" type="command" category="Hummingbird"><header></header><code></code><translations>ko:Hummingbird _ LED _ _ %&#xD;de:Hummingbird _ LED _ _ %&#xD;pt:Hummingbird _ LED _ _ %&#xD;fr:Hummingbird _ LED _ _ %&#xD;nl:Hummingbird _ LED _ _ %&#xD;zh_CN:Hummingbird _ LED _ _ %&#xD;zh_TW:Hummingbird _ LED _ _ %&#xD;ar:Hummingbird _ ضوء _ _&#xD;dk:Hummingbird _ LED _ _ %&#xD;he:Hummingbird _ לד % _ _&#xD;es:Hummingbird _ LED _ _ %&#xD;ca:Hummingbird _ LED _ _ %&#xD;fi:Hummingbird _ LED _ _ %&#xD;sv:Hummingbird _ LED _ _ %&#xD;</translations><inputs><input type="%txt" readonly="true">A<options>A&#xD;B&#xD;C</options></input><input type="%n" readonly="true">1<options>1&#xD;2&#xD;3</options></input><input type="%n">0</input></inputs><script><block s="doApplyExtension"><l>src_load(url)</l><list><l>https://www.birdbraintechnologies.com/downloads/installers/BirdBrainExtension.js</l></list></block><block s="doApplyExtension"><l>bbt_led(robot, port, intensity)</l><list><block var="devId"/><block var="port"/><block var="intensity"/></list></block><block s="doWait"><l>0.03</l></block></script></block-definition><block-definition s="Hummingbird %&apos;devId&apos; Tri-LED %&apos;port&apos; R %&apos;redLED&apos; % G %&apos;greenLED&apos; % B %&apos;blueLED&apos; %" type="command" category="Hummingbird"><header></header><code></code><translations>ko:Hummingbird _ 삼색 LED _ 빨강 _ % 초록 _ % 파랑 _ %&#xD;de:Hummingbird _ Dreifarben-LED _ R _ % G _ % B _ %&#xD;pt:Hummingbird _ LED Tricolor _ R _ % G _ % B _ %&#xD;fr:Hummingbird _ Tri-LED _ R _ % G _ % B _ %&#xD;nl:Hummingbird _ Tri-LED _ R _ % G _ % B _ %&#xD;zh_CN:Hummingbird _ 三色LED _ 红 _ % 绿 _ % 蓝 _ %&#xD;zh_TW:Hummingbird _ 三色LED _ 紅 _ % 綠 _ % 藍 _ %&#xD;ar:Hummingbird _ ضوء الصمام الثلاثي _ _ _ _&#xD;dk:Hummingbird _ Tri-LED _ R _ % G _ % B _ %&#xD;he:Hummingbird _ לד שלושה צבעים % _ R _ % G _ % B _&#xD;es:Hummingbird _ Led tricolor _ R _ % G _ % B _ %&#xD;ca:Hummingbird _ Tri-LED _ vermell _ % verd _ % blau _ %&#xD;fi:Hummingbird _ Tri-LED _ R _ % G _ % B _ %&#xD;sv:Hummingbird _ Tri-LED _ R _ % G _ % B _ %&#xD;</translations><inputs><input type="%txt" readonly="true">A<options>A&#xD;B&#xD;C</options></input><input type="%n" readonly="true">1<options>1&#xD;2</options></input><input type="%n">0</input><input type="%n">0</input><input type="%n">0</input></inputs><script><block s="doApplyExtension"><l>src_load(url)</l><list><l>https://www.birdbraintechnologies.com/downloads/installers/BirdBrainExtension.js</l></list></block><block s="doApplyExtension"><l>bbt_triled(robot, port, red, green, blue)</l><list><block var="devId"/><block var="port"/><block var="redLED"/><block var="greenLED"/><block var="blueLED"/></list></block><block s="doWait"><l>0.03</l></block></script></block-definition><block-definition s="Hummingbird %&apos;devId&apos; %&apos;sensor&apos; %&apos;port&apos;" type="reporter" category="Hummingbird"><header></header><code></code><translations></translations><inputs><input type="%txt" readonly="true">A<options>A&#xD;B&#xD;C</options></input><input type="%txt" readonly="true">Light<options>Distance (cm)&#xD;Dial&#xD;Light&#xD;Sound&#xD;Other (V)</options></input><input type="%n" readonly="true">1<options>1&#xD;2&#xD;3</options></input></inputs><script><block s="doApplyExtension"><l>src_load(url)</l><list><l>https://www.birdbraintechnologies.com/downloads/installers/BirdBrainExtension.js</l></list></block><block s="doReport"><block s="reportApplyExtension"><l>bbt_bitsensor(robot, sensor, port)</l><list><block var="devId"/><block var="sensor"/><block var="port"/></list></block></block></script></block-definition><block-definition s="Hummingbird %&apos;devId&apos; Play Note %&apos;note&apos; for %&apos;beats&apos; beats" type="command" category="Hummingbird"><header></header><code></code><translations>ko:Hummingbird _ _ 번 음을 _ 박자로 연주하기&#xD;de:Hummingbird _ Spiele Note _ für _ Schläge&#xD;pt:Hummingbird _ Toque Notas _ por _ Batidas&#xD;fr:Hummingbird _ Jouer la note _ pour _ battement(s)&#xD;nl:Hummingbird _ Speel Noot _ voor _ Beats&#xD;zh_CN:Hummingbird _ 演奏 音阶 _ 于 _ 拍&#xD;zh_TW:Hummingbird _ 演奏 音階 _ 於 _ 拍&#xD;ar:Hummingbird _ تشغيل الموسيقى _ _&#xD;dk:Hummingbird _ Spil tone _ i _ slag&#xD;he:Hummingbird _ נגן תו _ במשך _ פעימות&#xD;es:Hummingbird _ Emitir un sonido _ por _ pulsos&#xD;ca:Hummingbird _ Toca nota _ durant _ temps&#xD;fi:Hummingbird _ Soita sävel _ _ iskun ajan&#xD;sv:Hummingbird _ Spela not _ _&#xD;</translations><inputs><input type="%txt" readonly="true">A<options>A&#xD;B&#xD;C</options></input><input type="%n">60<options>§_pianoKeyboardMenu</options></input><input type="%n">0.5</input></inputs><script><block s="doApplyExtension"><l>src_load(url)</l><list><l>https://www.birdbraintechnologies.com/downloads/installers/BirdBrainExtension.js</l></list></block><block s="doIf"><block s="reportVariadicGreaterThan"><list><block var="beats"/><l>16</l></list></block><script><block s="doSetVar"><l>beats</l><l>16</l></block></script><list></list></block><block s="doIf"><block s="reportVariadicGreaterThan"><list><l>0</l><block var="beats"/></list></block><script><block s="doSetVar"><l>beats</l><l>0</l></block></script><list></list></block><block s="doSetVar"><l>beats</l><block s="reportRound"><block s="reportVariadicProduct"><list><block s="reportQuotient"><l>60000</l><block s="getTempo"></block></block><block var="beats"/></list></block><comment w="242" collapsed="false">BPM = tempo&#xD;60 * 1000/BPM = BPMS beats per millisecond&#xD;beats = Duration in ms = BPMS * number of beats</comment></block></block><block s="doApplyExtension"><l>bbt_playnote(robot, note, duration)</l><list><block var="devId"/><block var="note"/><block var="beats"/></list></block><block s="doWait"><block s="reportQuotient"><block var="beats"/><l>1000</l></block><comment w="205" collapsed="false">block for number of seconds</comment></block></script></block-definition><block-definition s="micro:bit %&apos;devId&apos; Button %&apos;button&apos;" type="predicate" category="micro:bit"><header></header><code></code><translations>ko:micro:bit _ 버튼 _&#xD;de:micro:bit _ Knopf _&#xD;pt:micro:bit _ Tecla _&#xD;fr:micro:bit _ Bouton _&#xD;nl:micro:bit _ Knop _&#xD;zh_CN:micro:bit _ 按钮 _&#xD;zh_TW:micro:bit _ 按鈕 _&#xD;ar:micro:bit _ زر _&#xD;dk:micro:bit _ Knap _&#xD;he:micro:bit _ לחצן _&#xD;es:micro:bit _ Pulsador _&#xD;ca:micro:bit _ Botó _&#xD;fi:micro:bit _ Painike _&#xD;sv:micro:bit _ Knapp _&#xD;</translations><inputs><input type="%txt" readonly="true">A<options>A&#xD;B&#xD;C</options></input><input type="%txt" readonly="true">A<options>A&#xD;B&#xD;Logo (V2)</options></input></inputs><script><block s="doApplyExtension"><l>src_load(url)</l><list><l>https://www.birdbraintechnologies.com/downloads/installers/BirdBrainExtension.js</l></list></block><block s="doReport"><block s="reportApplyExtension"><l>bbt_button(robot, button)</l><list><block var="devId"/><block var="button"/></list></block></block></script></block-definition><block-definition s="micro:bit %&apos;devId&apos; %&apos;dim&apos;" type="predicate" category="micro:bit"><header></header><code></code><translations></translations><inputs><input type="%txt" readonly="true">A<options>A&#xD;B&#xD;C</options></input><input type="%txt" readonly="true">Screen Up<options>Screen Up&#xD;Screen Down&#xD;Tilt Left&#xD;Tilt Right&#xD;Logo Up&#xD;Logo Down&#xD;Shake</options></input></inputs><script><block s="doApplyExtension"><l>src_load(url)</l><list><l>https://www.birdbraintechnologies.com/downloads/installers/BirdBrainExtension.js</l></list></block><block s="doReport"><block s="reportApplyExtension"><l>bbt_orientation(robot, dimension)</l><list><block var="devId"/><block var="dim"/></list></block></block></script></block-definition><block-definition s="Finch %&apos;devId&apos; %&apos;dim&apos;" type="predicate" category="Finch"><header></header><code></code><translations></translations><inputs><input type="%txt" readonly="true">A<options>A&#xD;B&#xD;C</options></input><input type="%txt" readonly="true">Beak Up<options>Beak Up&#xD;Beak Down&#xD;Tilt Left&#xD;Tilt Right&#xD;Level&#xD;Upside Down&#xD;Shake</options></input></inputs><script><block s="doApplyExtension"><l>src_load(url)</l><list><l>https://www.birdbraintechnologies.com/downloads/installers/BirdBrainExtension.js</l></list></block><block s="doReport"><block s="reportApplyExtension"><l>bbt_finchorientation(robot, dimension)</l><list><block var="devId"/><block var="dim"/></list></block></block></script></block-definition><block-definition s="micro:bit %&apos;devId&apos; %&apos;device&apos; %&apos;dim&apos;" type="reporter" category="micro:bit"><header></header><code></code><translations></translations><inputs><input type="%txt" readonly="true">A<options>A&#xD;B&#xD;C</options></input><input type="%txt" readonly="true">Accelerometer (m/s²)<options>Accelerometer (m/s²)&#xD;Magnetometer (µT)</options></input><input type="%txt" readonly="true">X<options>X&#xD;Y&#xD;Z</options></input></inputs><script><block s="doApplyExtension"><l>src_load(url)</l><list><l>https://www.birdbraintechnologies.com/downloads/installers/BirdBrainExtension.js</l></list></block><block s="doReport"><block s="reportIfElse"><block s="reportVariadicEquals"><list><block var="device"/><l>Accelerometer (m/s²)</l></list></block><block s="reportApplyExtension"><l>bbt_accelerometer(robot, dimension)</l><list><block var="devId"/><block var="dim"/></list></block><block s="reportApplyExtension"><l>bbt_magnetometer(robot, dimension)</l><list><block var="devId"/><block var="dim"/></list></block></block></block></script></block-definition><block-definition s="Finch %&apos;devId&apos; %&apos;device&apos; %&apos;dim&apos;" type="reporter" category="Finch"><header></header><code></code><translations></translations><inputs><input type="%txt" readonly="true">A<options>A&#xD;B&#xD;C</options></input><input type="%txt" readonly="true">Accelerometer (m/s²)<options>Accelerometer (m/s²)&#xD;Magnetometer (µT)</options></input><input type="%txt" readonly="true">X<options>X&#xD;Y&#xD;Z</options></input></inputs><script><block s="doApplyExtension"><l>src_load(url)</l><list><l>https://www.birdbraintechnologies.com/downloads/installers/BirdBrainExtension.js</l></list></block><block s="doReport"><block s="reportIfElse"><block s="reportVariadicEquals"><list><block var="device"/><l>Accelerometer (m/s²)</l></list></block><block s="reportApplyExtension"><l>bbt_finchaccelerometer(robot, dimension)</l><list><block var="devId"/><block var="dim"/></list></block><block s="reportApplyExtension"><l>bbt_finchmagnetometer(robot, dimension)</l><list><block var="devId"/><block var="dim"/></list></block></block></block></script></block-definition><block-definition s="micro:bit %&apos;devId&apos; Compass" type="reporter" category="micro:bit"><header></header><code></code><translations>ko:micro:bit _ 나침반 센서&#xD;de:micro:bit _ Kompass&#xD;pt:micro:bit _ Bússola&#xD;fr:micro:bit _ Compas&#xD;nl:micro:bit _ Kompas&#xD;zh_CN:micro:bit _ 指南针&#xD;zh_TW:micro:bit _ 指南針&#xD;ar:micro:bit _ بوصلة&#xD;dk:micro:bit _ Kompas&#xD;he:micro:bit _ מצפן&#xD;es:micro:bit _ Brujula&#xD;ca:micro:bit _ Brúixola&#xD;fi:micro:bit _ Kompassi&#xD;sv:micro:bit _ Kompass&#xD;</translations><inputs><input type="%txt" readonly="true">A<options>A&#xD;B&#xD;C</options></input></inputs><script><block s="doApplyExtension"><l>src_load(url)</l><list><l>https://www.birdbraintechnologies.com/downloads/installers/BirdBrainExtension.js</l></list></block><block s="doReport"><block s="reportApplyExtension"><l>bbt_compass(robot)</l><list><block var="devId"/></list></block></block></script></block-definition><block-definition s="Finch %&apos;devId&apos; Compass" type="reporter" category="Finch"><header></header><code></code><translations>ko:Finch _ 나침반 센서&#xD;de:Finch _ Kompass&#xD;pt:Finch _ Bússola&#xD;fr:Finch _ Compas&#xD;nl:Finch _ Kompas&#xD;zh_CN:Finch _ 指南针&#xD;zh_TW:Finch _ 指南針&#xD;ar:Finch _ بوصلة&#xD;dk:Finch _ Kompas&#xD;he:Finch _ מצפן&#xD;es:Finch _ Brujula&#xD;ca:Finch _ Brúixola&#xD;fi:Finch _ Kompassi&#xD;sv:Finch _ Kompass&#xD;</translations><inputs><input type="%txt" readonly="true">A<options>A&#xD;B&#xD;C</options></input></inputs><script><block s="doApplyExtension"><l>src_load(url)</l><list><l>https://www.birdbraintechnologies.com/downloads/installers/BirdBrainExtension.js</l></list></block><block s="doReport"><block s="reportApplyExtension"><l>bbt_finchcompass(robot)</l><list><block var="devId"/></list></block></block></script></block-definition><block-definition s="micro:bit V2 %&apos;devId&apos; %&apos;sensor&apos;" type="reporter" category="micro:bit"><header></header><code></code><translations></translations><inputs><input type="%txt" readonly="true">A<options>A&#xD;B&#xD;C</options></input><input type="%txt" readonly="true">Sound<options>Sound&#xD;Temperature (°C)</options></input></inputs><script><block s="doApplyExtension"><l>src_load(url)</l><list><l>https://www.birdbraintechnologies.com/downloads/installers/BirdBrainExtension.js</l></list></block><block s="doReport"><block s="reportIfElse"><block s="reportVariadicEquals"><list><block var="sensor"/><l>Sound</l></list></block><block s="reportApplyExtension"><l>bbt_sound(robot)</l><list><block var="devId"/></list></block><block s="reportApplyExtension"><l>bbt_temperature(robot)</l><list><block var="devId"/></list></block></block></block></script></block-definition><block-definition s="%&apos;devId&apos; Battery Level" type="reporter" category="micro:bit"><header></header><code></code><translations></translations><inputs><input type="%txt" readonly="true">A<options>A&#xD;B&#xD;C</options></input></inputs><script><block s="doApplyExtension"><l>src_load(url)</l><list><l>https://www.birdbraintechnologies.com/downloads/installers/BirdBrainExtension.js</l></list></block><block s="doReport"><block s="reportApplyExtension"><l>bbt_battery(robot)</l><list><block var="devId"/></list></block></block></script></block-definition><block-definition s="micro:bit Print %&apos;devId&apos; %&apos;string&apos;" type="command" category="micro:bit"><header></header><code></code><translations>ko:micro:bit _ 출력 _&#xD;de:micro:bit _ Drucke _&#xD;pt:micro:bit _ Imprimir _&#xD;fr:micro:bit _ Imprimer _&#xD;nl:micro:bit _ Schrijf _&#xD;zh_CN:micro:bit _ 打印 _&#xD;zh_TW:micro:bit _ 打印 _&#xD;ar:micro:bit _ طباعة _&#xD;dk:micro:bit _ Vis _&#xD;he:micro:bit _ הדפס _&#xD;es:micro:bit _ Imprimir _&#xD;ca:micro:bit _ Escriu _&#xD;fi:micro:bit _ Näytä teksti _&#xD;sv:micro:bit _ Visa text _&#xD;</translations><inputs><input type="%txt" readonly="true">A<options>A&#xD;B&#xD;C</options></input><input type="%txt">Hello</input></inputs><script><block s="doApplyExtension"><l>src_load(url)</l><list><l>https://www.birdbraintechnologies.com/downloads/installers/BirdBrainExtension.js</l></list></block><block s="doApplyExtension"><l>bbt_print(robot, string)</l><list><block var="devId"/><block var="string"/></list></block><block s="doWait"><block s="reportVariadicProduct"><list><l>.6</l><block s="reportTextAttribute"><l><option>length</option></l><block var="string"/></block></list></block></block></script></block-definition><block-definition s="micro:bit %&apos;devId&apos; Display $nl %&apos;r1c1&apos; %&apos;r1c2&apos; %&apos;r1c3&apos; %&apos;r1c4&apos; %&apos;r1c5&apos; $nl %&apos;r2c1&apos; %&apos;r2c2&apos; %&apos;r2c3&apos; %&apos;r2c4&apos; %&apos;r2c5&apos; $nl %&apos;r3c1&apos; %&apos;r3c2&apos; %&apos;r3c3&apos; %&apos;r3c4&apos; %&apos;r3c5&apos; $nl %&apos;r4c1&apos; %&apos;r4c2&apos; %&apos;r4c3&apos; %&apos;r4c4&apos; %&apos;r4c5&apos; $nl %&apos;r5c1&apos; %&apos;r5c2&apos; %&apos;r5c3&apos; %&apos;r5c4&apos; %&apos;r5c5&apos;" type="command" category="micro:bit"><header></header><code></code><translations>ko:micro:bit _ 보이기 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _&#xD;de:micro:bit _ LED Anzeige _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _&#xD;pt:micro:bit _ Visor _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _&#xD;fr:micro:bit _ Display _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _&#xD;nl:micro:bit _ Scherm _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _&#xD;zh_CN:micro:bit _ 显示 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _&#xD;zh_TW:micro:bit _ 顯示 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _&#xD;ar:micro:bit _ عرض _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _&#xD;dk:micro:bit _ Display _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _&#xD;he:micro:bit _ מסך _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _&#xD;es:micro:bit _ Monitor _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _&#xD;ca:micro:bit _ Pantalla _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _&#xD;fi:micro:bit _ Näytä _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _&#xD;sv:micro:bit _ Skärm _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _&#xD;</translations><inputs><input type="%txt" readonly="true">A<options>A&#xD;B&#xD;C</options></input><input type="%b">false</input><input type="%b">false</input><input type="%b">false</input><input type="%b">false</input><input type="%b">false</input><input type="%b">false</input><input type="%b">false</input><input type="%b">false</input><input type="%b">false</input><input type="%b">false</input><input type="%b">false</input><input type="%b">false</input><input type="%b">false</input><input type="%b">false</input><input type="%b">false</input><input type="%b">false</input><input type="%b">false</input><input type="%b">false</input><input type="%b">false</input><input type="%b">false</input><input type="%b">false</input><input type="%b">false</input><input type="%b">false</input><input type="%b">false</input><input type="%b">false</input></inputs><script><block s="doApplyExtension"><l>src_load(url)</l><list><l>https://www.birdbraintechnologies.com/downloads/installers/BirdBrainExtension.js</l></list></block><block s="doDeclareVariables"><list><l>symbolString</l></list></block><block s="doSetVar"><l>symbolString</l><block s="reportJoinWords"><list><block var="r1c1"/><l>/</l><block var="r1c2"/><l>/</l><block var="r1c3"/><l>/</l><block var="r1c4"/><l>/</l><block var="r1c5"/><l>/</l><block var="r2c1"/><l>/</l><block var="r2c2"/><l>/</l><block var="r2c3"/><l>/</l><block var="r2c4"/><l>/</l><block var="r2c5"/><l>/</l><block var="r3c1"/><l>/</l><block var="r3c2"/><l>/</l><block var="r3c3"/><l>/</l><block var="r3c4"/><l>/</l><block var="r3c5"/><l>/</l><block var="r4c1"/><l>/</l><block var="r4c2"/><l>/</l><block var="r4c3"/><l>/</l><block var="r4c4"/><l>/</l><block var="r4c5"/><l>/</l><block var="r5c1"/><l>/</l><block var="r5c2"/><l>/</l><block var="r5c3"/><l>/</l><block var="r5c4"/><l>/</l><block var="r5c5"/></list></block></block><block s="doApplyExtension"><l>bbt_display(robot, symbol)</l><list><block var="devId"/><block var="symbolString"/></list></block><block s="doWait"><l>0.03</l></block></script></block-definition><block-definition s="stop all %&apos;devId&apos;" type="command" category="micro:bit"><header></header><code></code><translations>ko:모두 멈추기 _&#xD;de:stoppe alles _&#xD;pt:pare todos _&#xD;fr:stop tout _&#xD;nl:stop alle _&#xD;zh_CN:停止 全部 _&#xD;zh_TW:停止 全部 _&#xD;ar:توقف الكل _&#xD;dk:stop alle _&#xD;he:להפסיק הכל _&#xD;es:detener todo _&#xD;ca:atura tot _&#xD;fi:pysäytä kaikki _&#xD;sv:stop allt _&#xD;</translations><inputs><input type="%txt" readonly="true">A<options>A&#xD;B&#xD;C</options></input></inputs><script><block s="doApplyExtension"><l>src_load(url)</l><list><l>https://www.birdbraintechnologies.com/downloads/installers/BirdBrainExtension.js</l></list></block><block s="doApplyExtension"><l>bbt_stop(robot)</l><list><block var="devId"/></list></block></script></block-definition><block-definition s="Finch %&apos;devId&apos; Distance (cm)" type="reporter" category="Finch"><header></header><code></code><translations>ca:Finch _ Distància (cm)&#xD;de:Finch _ Entfernung (cm)&#xD;es:Finch _ Distancia (cm)&#xD;fr:Finch _ Distance (cm)&#xD;he:Finch _ מרחק (cm)&#xD;ko:Finch _ 거리 센서 (cm)&#xD;nl:Finch _ Afstand (cm)&#xD;pt:Finch _ Distância (cm)&#xD;zh_CN:Finch _ 距离 (cm)&#xD;zh_TW:Finch _ 距離 (cm)&#xD;</translations><inputs><input type="%txt" readonly="true">A<options>A&#xD;B&#xD;C</options></input></inputs><script><block s="doApplyExtension"><l>src_load(url)</l><list><l>https://www.birdbraintechnologies.com/downloads/installers/BirdBrainExtension.js</l></list></block><block s="doReport"><block s="reportApplyExtension"><l>bbt_finchdistance(robot)</l><list><block var="devId"/></list></block></block></script></block-definition><block-definition s="Finch %&apos;devId&apos; %&apos;port&apos; Light" type="reporter" category="Finch"><header></header><code></code><translations>ca:Finch _ _ Llum&#xD;de:Finch _ _ Licht&#xD;es:Finch _ _ Luz&#xD;fr:Finch _ _ Lumière&#xD;he:Finch _ _ אור&#xD;ko:Finch _ _ 빛 센서&#xD;nl:Finch _ _ Licht&#xD;pt:Finch _ _ Luz&#xD;zh_CN:Finch _ _ 灯光&#xD;zh_TW:Finch _ _ 燈光&#xD;</translations><inputs><input type="%txt" readonly="true">A<options>A&#xD;B&#xD;C</options></input><input type="%txt" readonly="true">Right<options>Left&#xD;Right</options></input></inputs><script><block s="doApplyExtension"><l>src_load(url)</l><list><l>https://www.birdbraintechnologies.com/downloads/installers/BirdBrainExtension.js</l></list></block><block s="doReport"><block s="reportApplyExtension"><l>bbt_finchlight(robot, port)</l><list><block var="devId"/><block var="port"/></list></block></block></script></block-definition><block-definition s="Finch %&apos;devId&apos; %&apos;port&apos; Line" type="reporter" category="Finch"><header></header><code></code><translations>ca:Finch _ _ Línia&#xD;de:Finch _ _ Linie&#xD;es:Finch _ _ Línea&#xD;fr:Finch _ _ Ligne&#xD;he:Finch _ _ קו&#xD;ko:Finch _ _ 선&#xD;nl:Finch _ _ Lijn&#xD;pt:Finch _ _ Linha&#xD;zh_CN:Finch _ _ 线&#xD;zh_TW:Finch _ _ 線&#xD;</translations><inputs><input type="%txt" readonly="true">A<options>A&#xD;B&#xD;C</options></input><input type="%txt" readonly="true">Right<options>Left&#xD;Right</options></input></inputs><script><block s="doApplyExtension"><l>src_load(url)</l><list><l>https://www.birdbraintechnologies.com/downloads/installers/BirdBrainExtension.js</l></list></block><block s="doReport"><block s="reportApplyExtension"><l>bbt_finchline(robot, port)</l><list><block var="devId"/><block var="port"/></list></block></block></script></block-definition><block-definition s="Finch %&apos;devId&apos; %&apos;port&apos; Encoder (rotations)" type="reporter" category="Finch"><header></header><code></code><translations>ca:Finch _ Recompte de voltes _&#xD;de:Finch _ _ Kodierer&#xD;es:Finch _ Recuento de vueltas _&#xD;fr:Finch _ _ Encodeur&#xD;he:Finch _ _ קודאי&#xD;ko:Finch _ _ 인코더&#xD;nl:Finch _ _ Encoder&#xD;pt:Finch _ _ Código&#xD;zh_CN:Finch _ _ 编码器&#xD;zh_TW:Finch _ _ 編碼器&#xD;</translations><inputs><input type="%txt" readonly="true">A<options>A&#xD;B&#xD;C</options></input><input type="%txt" readonly="true">Right<options>Left&#xD;Right</options></input></inputs><script><block s="doApplyExtension"><l>src_load(url)</l><list><l>https://www.birdbraintechnologies.com/downloads/installers/BirdBrainExtension.js</l></list></block><block s="doReport"><block s="reportApplyExtension"><l>bbt_finchencoder(robot, port)</l><list><block var="devId"/><block var="port"/></list></block></block></script></block-definition><block-definition s="Finch %&apos;devId&apos; Reset Encoders" type="command" category="Finch"><header></header><code></code><translations>ca:Finch _ Reinicialitza els comptadors de voltes&#xD;de:Finch _ Kodierer Zurücksetzen&#xD;es:Finch _ Reinicializar los contadores de vueltas&#xD;fr:Finch _ Réinitialiser les encodeurs&#xD;he:Finch _ לאפס קודאי&#xD;ko:Finch _ 인코더 리셋하기&#xD;nl:Finch _ Encoders Resetten&#xD;pt:Finch _ Redefinir Código&#xD;zh_CN:Finch _ 重置编码器&#xD;zh_TW:Finch _ 重置編碼器&#xD;</translations><inputs><input type="%txt" readonly="true">A<options>A&#xD;B&#xD;C</options></input></inputs><script><block s="doApplyExtension"><l>src_load(url)</l><list><l>https://www.birdbraintechnologies.com/downloads/installers/BirdBrainExtension.js</l></list></block><block s="doApplyExtension"><l>bbt_finchencoderreset(robot)</l><list><block var="devId"/></list></block><block s="doWait"><l>0.5</l><comment w="205" collapsed="false">block until reset happens</comment></block></script></block-definition><block-definition s="Finch %&apos;devId&apos; Play Note %&apos;note&apos; for %&apos;beats&apos; beats" type="command" category="Finch"><header></header><code></code><translations>ko:Finch _ _ 번 음을 _ 박자로 연주하기&#xD;de:Finch _ Spiele Note _ für _ Schläge&#xD;pt:Finch _ Toque Notas _ por _ Batidas&#xD;fr:Finch _ Jouer la note _ pour _ battement(s)&#xD;nl:Finch _ Speel Noot _ voor _ Beats&#xD;zh_CN:Finch _ 演奏 音阶 _ 于 _ 拍&#xD;zh_TW:Finch _ 演奏 音階 _ 於 _ 拍&#xD;ar:Finch _ تشغيل الموسيقى _ _&#xD;dk:Finch _ Spil tone _ i _ slag&#xD;he:Finch _ נגן תו _ במשך _ פעימות&#xD;es:Finch _ Emitir un sonido _ por _ pulsos&#xD;ca:Finch _ Toca nota _ durant _ temps&#xD;fi:Finch _ Soita sävel _ _ iskun ajan&#xD;sv:Finch _ Spela not _ _&#xD;</translations><inputs><input type="%txt" readonly="true">A<options>A&#xD;B&#xD;C</options></input><input type="%n">60<options>§_pianoKeyboardMenu</options></input><input type="%n">0.5</input></inputs><script><block s="doApplyExtension"><l>src_load(url)</l><list><l>https://www.birdbraintechnologies.com/downloads/installers/BirdBrainExtension.js</l></list></block><block s="doIf"><block s="reportVariadicGreaterThan"><list><block var="beats"/><l>16</l></list></block><script><block s="doSetVar"><l>beats</l><l>16</l></block></script><list></list></block><block s="doIf"><block s="reportVariadicGreaterThan"><list><l>0</l><block var="beats"/></list></block><script><block s="doSetVar"><l>beats</l><l>0</l></block></script><list></list></block><block s="doSetVar"><l>beats</l><block s="reportRound"><block s="reportVariadicProduct"><list><block s="reportQuotient"><l>60000</l><block s="getTempo"></block></block><block var="beats"/></list></block><comment w="242" collapsed="false">BPM = tempo&#xD;60 * 1000/BPM = BPMS beats per millisecond&#xD;beats&#xD;                        = Duration in ms = BPMS * number of beats&#xD;                    </comment></block></block><block s="doApplyExtension"><l>bbt_playnote(robot, note, duration)</l><list><block var="devId"/><block var="note"/><block var="beats"/></list></block><block s="doWait"><block s="reportQuotient"><block var="beats"/><l>1000</l></block><comment w="205" collapsed="false">block for number of seconds</comment></block></script></block-definition><block-definition s="Finch %&apos;devId&apos; Move %&apos;direction&apos; %&apos;distance&apos; cm at %&apos;speed&apos; %" type="command" category="Finch"><header></header><code></code><translations>ca:Finch _ Mou-te cap _ _ cm  a velocitat _ %&#xD;de:Finch _ Gehe _ _ cm mit _ %&#xD;es:Finch _ Mover hacia _ _ cm a velocidad _ %&#xD;fr:Finch _ Déplacer _ _ cm sur _ %&#xD;he:Finch _ זוז _ _ ס&apos;&apos;מ ב _ %&#xD;ko:Finch _ _ _ cm 로 움직이기 빠르기 _ %&#xD;nl:Finch _ Beweeg _ _ cm op _ %&#xD;pt:Finch _ Mova _ _ cm  a _ %&#xD;zh_CN:Finch _ 移动 _ _ cm 以 _ %&#xD;zh_TW:Finch _ 移動  _ _ 厘米在 _ %&#xD;</translations><inputs><input type="%txt" readonly="true">A<options>A&#xD;B&#xD;C</options></input><input type="%txt" readonly="true">Forward<options>Forward&#xD;Backward</options></input><input type="%n">10</input><input type="%n">50</input></inputs><script><block s="doApplyExtension"><l>src_load(url)</l><list><l>https://www.birdbraintechnologies.com/downloads/installers/BirdBrainExtension.js</l></list></block><block s="doDeclareVariables"><list><l>wasMoving</l><l>isMoving</l><l>commandSendTime</l></list></block><block s="doSetVar"><l>isMoving</l><block s="reportApplyExtension"><l>bbt_finchismoving(robot)</l><list><block var="devId"/></list></block></block><block s="doSetVar"><l>wasMoving</l><block var="isMoving"/></block><block s="doSetVar"><l>commandSendTime</l><block s="reportDate"><l><option>time in milliseconds</option></l></block></block><block s="doApplyExtension"><l>bbt_finchmove(robot, direction, distance, speed)</l><list><block var="devId"/><block var="direction"/><block var="distance"/><block var="speed"/></list></block><block s="doUntil"><block s="reportVariadicAnd"><list><block s="reportVariadicOr"><list><block var="wasMoving"/><block s="reportVariadicGreaterThan"><list><block s="reportDate"><l><option>time in milliseconds</option></l></block><block s="reportVariadicSum"><list><block var="commandSendTime"/><l>1000</l></list><comment w="350" collapsed="true">Timeout must be longer here to accommodate slower Chromebooks</comment></block></list></block></list></block><block s="reportNot"><block var="isMoving"/></block></list></block><script><block s="doSetVar"><l>wasMoving</l><block var="isMoving"/></block><block s="doWait"><l>0.01</l></block><block s="doSetVar"><l>isMoving</l><block s="reportApplyExtension"><l>bbt_finchismoving(robot)</l><list><block var="devId"/></list></block></block></script></block></script></block-definition><block-definition s="Finch %&apos;devId&apos; Turn %&apos;direction&apos; %&apos;angle&apos; ° at %&apos;speed&apos; %" type="command" category="Finch"><header></header><code></code><translations>ca:Finch _ Gira cap a la _ _ ° a velocitat _ %&#xD;de:Finch _ Drehe _ _ ° mit _ %&#xD;es:Finch _ Girar hacia la _ _ ° a velocidad _ %&#xD;fr:Finch _ Tournez _ _ ° à _ %&#xD;he:Finch _ הסתובב _ _ מעלות ב _ %&#xD;ko:Finch _ _ _ ° 로 회전하기 빠르기 _ %&#xD;nl:Finch _ Draai _ _ ° op _ %&#xD;pt:Finch _ Gire _ _ ° a _ %&#xD;zh_CN:Finch _ 转动 _ _ ° 以 _ %&#xD;zh_TW:Finch _ 轉動 _ _ °在 _ %&#xD;</translations><inputs><input type="%txt" readonly="true">A<options>A&#xD;B&#xD;C</options></input><input type="%txt" readonly="true">Right<options>Right&#xD;Left</options></input><input type="%n">90</input><input type="%n">50</input></inputs><script><block s="doApplyExtension"><l>src_load(url)</l><list><l>https://www.birdbraintechnologies.com/downloads/installers/BirdBrainExtension.js</l></list></block><block s="doDeclareVariables"><list><l>wasMoving</l><l>isMoving</l><l>commandSendTime</l></list></block><block s="doSetVar"><l>isMoving</l><block s="reportApplyExtension"><l>bbt_finchismoving(robot)</l><list><block var="devId"/></list></block></block><block s="doSetVar"><l>wasMoving</l><block var="isMoving"/></block><block s="doSetVar"><l>commandSendTime</l><block s="reportDate"><l><option>time in milliseconds</option></l></block></block><block s="doApplyExtension"><l>bbt_finchturn(robot, direction, angle, speed)</l><list><block var="devId"/><block var="direction"/><block var="angle"/><block var="speed"/></list></block><block s="doUntil"><block s="reportVariadicAnd"><list><block s="reportVariadicOr"><list><block var="wasMoving"/><block s="reportVariadicGreaterThan"><list><block s="reportDate"><l><option>time in milliseconds</option></l></block><block s="reportVariadicSum"><list><block var="commandSendTime"/><l>1000</l></list><comment w="350" collapsed="true">Timeout must be longer here to accommodate slower Chromebooks</comment></block></list></block></list></block><block s="reportNot"><block var="isMoving"/></block></list></block><script><block s="doSetVar"><l>wasMoving</l><block var="isMoving"/></block><block s="doWait"><l>0.01</l></block><block s="doSetVar"><l>isMoving</l><block s="reportApplyExtension"><l>bbt_finchismoving(robot)</l><list><block var="devId"/></list></block></block></script></block></script></block-definition><block-definition s="Finch %&apos;devId&apos; Wheels L %&apos;left&apos; % R %&apos;right&apos; %" type="command" category="Finch"><header></header><code></code><translations>ca:Finch _ Posa les rodes a velocitat E _ % D _ %&#xD;de:Finch _ Räder L _ % R _ %&#xD;es:Finch _ Poner las ruedas a velocidad I _ % D _ %&#xD;fr:Finch _ Roues L _ % R _ %&#xD;he:Finch _ גלגלים שמאל _ % ימין _ %&#xD;ko:Finch _ 바퀴 왼쪽 _ % 오른쪽 _ %&#xD;nl:Finch _ Wielen L _ % R _ %&#xD;pt:Finch _ Rodas E _ % D _ %&#xD;zh_CN:Finch _ 左轮 _ % 右轮 _ %&#xD;zh_TW:Finch _ 車輪  左 _ % 右 _ %&#xD;</translations><inputs><input type="%txt" readonly="true">A<options>A&#xD;B&#xD;C</options></input><input type="%n">0</input><input type="%n">0</input></inputs><script><block s="doApplyExtension"><l>src_load(url)</l><list><l>https://www.birdbraintechnologies.com/downloads/installers/BirdBrainExtension.js</l></list></block><block s="doApplyExtension"><l>bbt_finchwheels(robot, left, right)</l><list><block var="devId"/><block var="left"/><block var="right"/></list></block><block s="doWait"><l>0.03</l></block></script></block-definition><block-definition s="Finch %&apos;devId&apos; Stop" type="command" category="Finch"><header></header><code></code><translations>ca:Finch _ Atura&#xD;de:Finch _ Stoppe&#xD;es:Finch _ Detener&#xD;fr:Finch _ Stop&#xD;he:Finch _ להפסיק&#xD;ko:Finch _ 멈추기&#xD;nl:Finch _ Stop&#xD;pt:Finch _ Pare&#xD;zh_CN:Finch _ 停止&#xD;zh_TW:Finch _ 停止&#xD;</translations><inputs><input type="%txt" readonly="true">A<options>A&#xD;B&#xD;C</options></input></inputs><script><block s="doApplyExtension"><l>src_load(url)</l><list><l>https://www.birdbraintechnologies.com/downloads/installers/BirdBrainExtension.js</l></list></block><block s="doApplyExtension"><l>bbt_finchstop(robot)</l><list><block var="devId"/></list></block></script></block-definition><block-definition s="Finch %&apos;devId&apos; Beak R %&apos;redLED&apos; % G %&apos;greenLED&apos; % B %&apos;blueLED&apos; %" type="command" category="Finch"><header></header><code></code><translations>ca:Finch _ Encén el bec de color R _ % G _ % B _ %&#xD;de:Finch _ Schnabel R _ % G _ % B _ %&#xD;es:Finch _ Encender el pico de color R _ % V _ % A _ %&#xD;fr:Finch _ Bec R _ % G _ % B _ %&#xD;he:Finch _ מקור אדום _ % ירוק _ % כחול _ %&#xD;ko:Finch _ 부리 빨강 _ % 초록 _ % 파랑 _ %&#xD;nl:Finch _ Bek R _ % G _ % B _ %&#xD;pt:Finch _ Bico R _ % G _ % B _ %&#xD;zh_CN:Finch _ 鸟喙 R _ % G _ % B _ %&#xD;zh_TW:Finch _ 鳥嘴 紅 _ % 綠 _ % 藍 _ %&#xD;</translations><inputs><input type="%txt" readonly="true">A<options>A&#xD;B&#xD;C</options></input><input type="%n">0</input><input type="%n">0</input><input type="%n">0</input></inputs><script><block s="doApplyExtension"><l>src_load(url)</l><list><l>https://www.birdbraintechnologies.com/downloads/installers/BirdBrainExtension.js</l></list></block><block s="doApplyExtension"><l>bbt_triled(robot, port, red, green, blue)</l><list><block var="devId"/><l>1</l><block var="redLED"/><block var="greenLED"/><block var="blueLED"/></list></block><block s="doWait"><l>0.03</l></block></script></block-definition><block-definition s="Finch %&apos;devId&apos; Tail %&apos;port&apos; R %&apos;redLED&apos; % G %&apos;greenLED&apos; % B %&apos;blueLED&apos; %" type="command" category="Finch"><header></header><code></code><translations>ca:Finch _ Encén la cua de color _ R _ % G _ % B _ %&#xD;de:Finch _ Schwanz _ R _ % G _ % B _ %&#xD;es:Finch _ Encender la cola de color _ R _ % V _ % A _ %&#xD;fr:Finch _ Queue _ R _ % G _ % B _ %&#xD;he:Finch _ זנב _ אדום _ % ירוק _ % כחול _ %&#xD;ko:Finch _ 꼬리 _ 빨강 _ % 초록 _ % 파랑 _ %&#xD;nl:Finch _ Staart _ R _ % G _ % B _ %&#xD;pt:Finch _ Cauda _ R _ % G _ % B _ %&#xD;zh_CN:Finch _ 鸟尾 _ R _ % G _ % B _ %&#xD;zh_TW:Finch _ 尾巴 _ 紅 _ % 綠 _ % 藍 _ %&#xD;</translations><inputs><input type="%txt" readonly="true">A<options>A&#xD;B&#xD;C</options></input><input type="%txt" readonly="true">all<options>all&#xD;1&#xD;2&#xD;3&#xD;4</options></input><input type="%n">0</input><input type="%n">0</input><input type="%n">0</input></inputs><script><block s="doApplyExtension"><l>src_load(url)</l><list><l>https://www.birdbraintechnologies.com/downloads/installers/BirdBrainExtension.js</l></list></block><block s="doIf"><block s="reportNot"><block s="reportVariadicEquals"><list><block var="port"/><l>all</l></list></block></block><script><block s="doSetVar"><l>port</l><block s="reportVariadicSum"><list><block var="port"/><l>1</l></list></block></block></script><list></list></block><block s="doApplyExtension"><l>bbt_triled(robot, port, red, green, blue)</l><list><block var="devId"/><block var="port"/><block var="redLED"/><block var="greenLED"/><block var="blueLED"/></list></block><block s="doWait"><l>0.03</l></block></script></block-definition><block-definition s="connect %&apos;devId&apos;" type="command" category="micro:bit"><header></header><code></code><translations></translations><inputs><input type="%txt" readonly="true">A<options>A&#xD;B&#xD;C</options></input></inputs><script><block s="doApplyExtension"><l>src_load(url)</l><list><l>https://www.birdbraintechnologies.com/downloads/installers/BirdBrainExtension.js</l></list></block><block s="doApplyExtension"><l>bbt_connect(robot)</l><list><block var="devId"/></list></block></script></block-definition><block-definition s="disconnect %&apos;devId&apos;" type="command" category="micro:bit"><header></header><code></code><translations></translations><inputs><input type="%txt" readonly="true">A<options>A&#xD;B&#xD;C</options></input></inputs><script><block s="doApplyExtension"><l>src_load(url)</l><list><l>https://www.birdbraintechnologies.com/downloads/installers/BirdBrainExtension.js</l></list></block><block s="doApplyExtension"><l>bbt_disconnect(robot)</l><list><block var="devId"/></list></block></script></block-definition><block-definition s="calibrate %&apos;devId&apos;" type="command" category="micro:bit"><header></header><code></code><translations></translations><inputs><input type="%txt" readonly="true">A<options>A&#xD;B&#xD;C</options></input></inputs><script><block s="doApplyExtension"><l>src_load(url)</l><list><l>https://www.birdbraintechnologies.com/downloads/installers/BirdBrainExtension.js</l></list></block><block s="doApplyExtension"><l>bbt_calibrate(robot)</l><list><block var="devId"/></list></block></script></block-definition><block-definition s="catch %&apos;tag&apos; %&apos;action&apos;" type="command" category="control"><header></header><code></code><translations>de:fange _ _&#xD;ca:agafa _ _&#xD;es:atrapar _ _&#xD;fr:attrape _ _&#xD;pt:captura _ _&#xD;</translations><inputs><input type="%upvar"></input><input type="%cs"></input></inputs><script><block s="doCallCC"><block s="reifyScript"><script><block s="doSetVar"><l>tag</l><block var="cont"/></block><block s="doRun"><block var="action"/><list></list></block></script><list><l>cont</l></list></block></block></script></block-definition><block-definition s="throw %&apos;cont&apos;" type="command" category="control"><header></header><code></code><translations>de:wirf _&#xD;ca:llança _&#xD;es:lanzar _&#xD;fr:lance _&#xD;pt:lança _&#xD;</translations><inputs><input type="%s">catchtag</input></inputs><script><block s="doRun"><block var="cont"/><list></list></block></script></block-definition><block-definition s="catch %&apos;tag&apos; %&apos;value&apos;" type="reporter" category="control"><header></header><code></code><translations>de:fange _ _&#xD;ca:agafa _ _&#xD;es:atrapar _ _&#xD;fr:attrape _ _&#xD;pt:captura _ _&#xD;</translations><inputs><input type="%upvar"></input><input type="%anyUE"></input></inputs><script><block s="doCallCC"><block s="reifyScript"><script><block s="doSetVar"><l>tag</l><block var="cont"/></block><block s="doReport"><block s="evaluate"><block var="value"/><list></list></block></block></script><list><l>cont</l></list></block></block></script></block-definition><block-definition s="throw %&apos;tag&apos; %&apos;value&apos;" type="command" category="control"><header></header><code></code><translations>de:wirf _ _&#xD;ca:llança _ _&#xD;es:lanzar _ _&#xD;fr:lance _ _&#xD;pt:lança _ _&#xD;</translations><inputs><input type="%s">catchtag</input><input type="%s"></input></inputs><script><block s="doRun"><block var="tag"/><list><block var="value"/></list></block></script></block-definition><block-definition s="if %&apos;test&apos; do %&apos;action&apos; and pause all $pause-1-255-220-0" type="command" category="control"><comment x="0" y="0" w="263.3333333333333" collapsed="false">This is a breakpoint block, to be used in debugging.&#xD;The Boolean input specifies the condition under which&#xD;the program should pause.  (Use True for an unconditional breakpoint.)  The intent is that the script should have&#xD;SHOW VARIABLE blocks for the process&apos;s local variables.&#xD;After the pause, this block automatically hides all temporary variables.</comment><header></header><code></code><translations>de:falls _ dann _ und pause $pause-1-255-220-0&#xD;ca:si _ fes _ i atura-ho tot $pause-1-255-220-0&#xD;es:si _ haz _ y páralo todo $pause-1-255-220-0&#xD;fr:si _ faire _ et mettre tout en pause $pause-1-255-220-0&#xD;pt:se _ , então _ e faz pausa em tudo $pause-1-255-220-0&#xD;</translations><inputs><input type="%boolUE"></input><input type="%cs"></input></inputs><script><block s="doDeclareVariables"><list><l>breakpoint</l></list></block><block s="doIf"><block s="evaluate"><block var="test"/><list></list></block><script><block s="doSetVar"><l>breakpoint</l><block var="test"/></block><block s="doShowVar"><l>breakpoint</l></block><block s="doRun"><block var="action"/><list></list></block><block s="doPauseAll"></block><block s="doHideVar"><l></l></block></script><list></list></block></script></block-definition><block-definition s="ignore %&apos;x&apos;" type="command" category="control"><comment x="0" y="0" w="206.66666666666666" collapsed="false">This block does nothing.&#xD;Use it when you are calling a reporter&#xD;for its side effect and don&apos;t care about&#xD;its return value.</comment><header></header><code></code><translations>de:ignoriere _&#xD;ca:ignora _&#xD;es:ignorar _&#xD;fr:ignore _&#xD;pt:ignora _&#xD;</translations><inputs><input type="%s"></input></inputs></block-definition><block-definition s="cascade %&apos;num&apos; times %&apos;function&apos; %&apos;init&apos; %&apos;#&apos;" type="reporter" category="control"><comment x="0" y="0" w="138" collapsed="false">Call f(f(f(...(f(x))))) n times where the three input slots are n, f, and x from left to right.  The # variable can be used inside f to represent how many times f has been called.</comment><header></header><code></code><translations>pt:o resultado de _ invocações em cascata de _ com argumento inicial _ _&#xD;</translations><inputs><input type="%n"></input><input type="%repRing"></input><input type="%s"></input><input type="%upvar"></input></inputs><script><block s="doDeclareVariables"><list><l>result</l></list></block><block s="doSetVar"><l>result</l><block var="init"/></block><block s="doSetVar"><l>#</l><l>0</l></block><block s="doRepeat"><block var="num"/><script><block s="doChangeVar"><l>#</l><l>1</l></block><block s="doSetVar"><l>result</l><block s="evaluate"><block var="function"/><list><block var="result"/></list></block></block></script></block><block s="doReport"><block var="result"/></block></script></block-definition><block-definition s="cascade until %&apos;pred&apos; %&apos;function&apos; %&apos;init&apos; %&apos;#&apos;" type="reporter" category="control"><comment x="0" y="0" w="210.47493489583334" collapsed="false">Call f(f(f(...(f(x))))) until condition is true, where the three input slots are condition, f, and x from left to right.  The # variable can be used inside f or condition to indicate how many times f has been called.</comment><header></header><code></code><translations>pt:o resultado da invocação em cascata até que _ de _ com argumento inicial _ _&#xD;</translations><inputs><input type="%predRing"></input><input type="%repRing"></input><input type="%s"></input><input type="%upvar"></input></inputs><script><block s="doDeclareVariables"><list><l>result</l></list></block><block s="doSetVar"><l>result</l><block var="init"/></block><block s="doSetVar"><l>#</l><l>0</l></block><block s="doUntil"><block s="evaluate"><block var="pred"/><list><block var="result"/></list></block><script><block s="doChangeVar"><l>#</l><l>1</l></block><block s="doSetVar"><l>result</l><block s="evaluate"><block var="function"/><list><block var="result"/></list></block></block></script></block><block s="doReport"><block var="result"/></block></script></block-definition><block-definition s="compose %&apos;f&apos; %&apos;g&apos;" type="reporter" category="control"><comment x="0" y="0" w="151.33333333333334" collapsed="false">Returns the function x↦f(g(x)) where f and g are the two inputs.</comment><header></header><code></code><translations>pt:a composição de _ com _&#xD;</translations><inputs><input type="%repRing"></input><input type="%repRing"></input></inputs><script><block s="doReport"><block s="reifyReporter"><autolambda><block s="evaluate"><block var="f"/><list><block s="evaluate"><block var="g"/><list><l></l></list></block></list></block></autolambda><list></list></block></block></script></block-definition><block-definition s="repeat %&apos;action&apos; until %&apos;pred&apos;" type="command" category="control"><comment x="0" y="0" w="202.66666666666666" collapsed="false">Like the built-in REPEAT UNTIL block, except that the ending condition is not tested until the script has been run the first time.  So the script is run at least once.</comment><header></header><code></code><translations>pt:repete _ até que _ $loop-0.7&#xD;</translations><inputs><input type="%cs"></input><input type="%boolUE"></input></inputs><script><block s="doRun"><block var="action"/><list></list></block><block s="doUntil"><block s="evaluate"><block var="pred"/><list></list></block><script><block s="doRun"><block var="action"/><list></list></block></script></block></script></block-definition><block-definition s="repeat %&apos;action&apos; while %&apos;pred&apos;" type="command" category="control"><comment x="0" y="0" w="287.3333333333333" collapsed="false">Run the script repeatedly, as long as the given condition is true.  Runs the script at least once before testing the condition.</comment><header></header><code></code><translations>pt:repete _ enquanto _ $loop-0.7&#xD;</translations><inputs><input type="%cs"></input><input type="%boolUE"></input></inputs><script><block s="doRun"><block var="action"/><list></list></block><block s="doUntil"><block s="reportNot"><block s="evaluate"><block var="pred"/><list></list></block></block><script><block s="doRun"><block var="action"/><list></list></block></script></block></script></block-definition><block-definition s="repeat while %&apos;pred&apos; %&apos;action&apos;" type="command" category="control"><comment x="0" y="0" w="264" collapsed="false">Runs the script repeatedly, as long as the condition is true. Tests the condition before the first time the script is run.  Like the built in REPEAT UNTIL except that in this block the condition must be true, not false.</comment><header></header><code></code><translations>pt:enquanto _ , repete _ $loop-0.7&#xD;</translations><inputs><input type="%boolUE"></input><input type="%cs"></input></inputs><script><block s="doUntil"><block s="reportNot"><block s="evaluate"><block var="pred"/><list></list></block></block><script><block s="doRun"><block var="action"/><list></list></block></script></block></script></block-definition><block-definition s="repeat %&apos;num&apos; %&apos;#&apos; %&apos;action&apos;" type="command" category="control"><comment x="0" y="0" w="171" collapsed="false">Runs the script the specified number of times, like the built-in REPEAT block, but this one provides the # variable that can be used inside the script.  Try&#xD;REPEAT (200)&#xD;                MOVE (#) STEPS&#xD;   RIGHT 92&#xD;with the pen down.</comment><header></header><code></code><translations>pt:repete _ vezes _ _ $loop-0.7&#xD;</translations><inputs><input type="%n"></input><input type="%upvar"></input><input type="%cs"></input></inputs><script><block s="doSetVar"><l>#</l><l>0</l></block><block s="doRepeat"><block var="num"/><script><block s="doChangeVar"><l>#</l><l>1</l></block><block s="doRun"><block var="action"/><list></list></block></script></block></script></block-definition><block-definition s="for %&apos;i&apos; = %&apos;start&apos; step %&apos;step&apos; to %&apos;end&apos; %&apos;action&apos;" type="command" category="control"><comment x="0" y="0" w="247.33333333333334" collapsed="false">The primitive FOR block uses an implicit step of ±1 depending on which of the starting and ending values is larger.  This version allows you to provide an explicit step value.  If the sign of the step input is incompatible with the ordering of the starting and ending values, the script will not be run at all.</comment><header></header><code></code><translations>pt:para _ de _ com passo _ a _ _ $loop-0.7&#xD;</translations><inputs><input type="%upvar"></input><input type="%n">1</input><input type="%n">1</input><input type="%n">10</input><input type="%cs"></input></inputs><script><block s="doDeclareVariables"><list><l>test</l></list></block><block s="doSetVar"><l>i</l><block var="start"/></block><block s="doIfElse"><block s="reportVariadicLessThan"><list><block var="step"/><l>0</l></list></block><script><block s="doSetVar"><l>test</l><block s="reifyPredicate"><autolambda><block s="reportVariadicLessThan"><list><block var="i"/><block var="end"/></list></block></autolambda><list></list></block></block></script><script><block s="doSetVar"><l>test</l><block s="reifyPredicate"><autolambda><block s="reportVariadicGreaterThan"><list><block var="i"/><block var="end"/></list></block></autolambda><list></list></block></block></script></block><block s="doUntil"><block s="evaluate"><block var="test"/><list></list></block><script><block s="doRun"><block var="action"/><list></list></block><block s="doChangeVar"><l>i</l><block var="step"/></block></script></block></script></block-definition><block-definition s="let %&apos;a&apos; be %&apos;val&apos; in %&apos;loop&apos; %&apos;body&apos;" type="command" category="control"><comment x="0" y="0" w="238.66666666666666" collapsed="false">Provides LOOP as a function of one input that runs&#xD;the body of the LET with A set to the function input,&#xD;so the body can run itself recursively.&#xD;See COPY block in Variables for an example of use.</comment><header></header><code></code><translations>pt:tendo _ o valor inicial _ , executa _ definido como _&#xD;</translations><inputs><input type="%upvar"></input><input type="%s"></input><input type="%upvar"></input><input type="%cs"></input></inputs><script><block s="doSetVar"><l>a</l><block var="val"/></block><block s="doSetVar"><l>loop</l><block s="reifyScript"><script><block s="doSetVar"><l>a</l><block var="new value"/></block><block s="doRun"><block var="body"/><list><block var="a"/></list></block></script><list><l>new value</l></list></block></block><block s="doRun"><block var="loop"/><list><block var="a"/></list></block></script></block-definition><block-definition s="pipe %&apos;value&apos; $arrowRight %&apos;pipe&apos;" type="reporter" category="control"><comment x="0" y="0" w="339.3333333333333" collapsed="false">The inputs are a starting value and one or more monadic functions.&#xD;The first function is called with the starting value as its input.&#xD;The second function is called with the value reported by the first function as its input, and so on.  PIPE reports the value reported by the last function.  PIPE provides an alternative notation for function composition instead of the usual nesting.&#xD;&#xD;nested acronym:                                                                 &#xD;report (combine (keep items (capital-letter? ( )) from&#xD;                  (map (letter (1) of ( )) over&#xD;                                                 (sentence→list (phrase)))) using (join ( ) ( )))&#xD;&#xD;piped acronym:                                             &#xD;report (pipe (phrase) → &#xD;            (sentence→list ( ))&#xD;                              (map (letter (1) of ( )) over ( ))&#xD;                                              (keep items (capital-letter? ( )) from ( ))&#xD;                                (combine ( ) using (join ( ) ( )))&#xD;&#xD;Some people find PIPE easier to read because the functions are called in the same order in which you read them, whereas in nested composition the innermost function is called first. </comment><header></header><code></code><translations>pt:a aplicação a _ de _&#xD;</translations><inputs><input type="%s"></input><input type="%mult%repRing"></input></inputs><script><block s="doIf"><block s="reportListIsEmpty"><block var="pipe"/></block><script><block s="doReport"><block var="value"/></block></script><list></list></block><block s="doReport"><custom-block s="pipe %s $arrowRight %mult%repRing"><block s="evaluate"><block s="reportListItem"><l>1</l><block var="pipe"/></block><list><block var="value"/></list></block><block s="reportCDR"><block var="pipe"/></block></custom-block></block></script></block-definition><block-definition s="all but first letter of %&apos;string&apos;" type="reporter" category="operators"><comment x="0" y="0" w="199" collapsed="false">Takes a text string as input, and reports a new text string containing all but the first character of the input.</comment><header></header><code></code><translations>pt:_ sem o primeiro caractere&#xD;</translations><inputs><input type="%txt"></input></inputs><script><block s="doIf"><block s="reportIsA"><block var="string"/><l><option>list</option></l></block><script><block s="doReport"><block s="reportMap"><block s="reifyReporter"><autolambda><custom-block s="all but first letter of %txt"><l></l></custom-block></autolambda><list></list></block><block var="string"/></block></block></script><list></list></block><block s="doReport"><block s="reportJoinWords"><block s="reportCDR"><block s="reportTextSplit"><custom-block s="require nonempty %s %s"><block var="string"/><l>All but first of empty word.</l></custom-block><l><option>letter</option></l></block></block></block></block></script></block-definition><block-definition s="all but first word of %&apos;sentence&apos;" type="reporter" category="operators"><comment x="0" y="0" w="223.000001" collapsed="false">Takes a text string as input, divides it into words treating one or more spaces as a word separator (only spaces count; punctuation is part of the word) and reports a text string containing all but the first word, with one space between words and no spaces at the beginning or end. (Note: consider using SENTENCE➞LIST and processing the resulting list instead of doing recursion on sentences in text string form.  List operations are faster.)</comment><header></header><code></code><translations>pt:_ sem a primeira palavra&#xD;</translations><inputs><input type="%txt"></input></inputs><script><block s="doIf"><block s="reportIsA"><block var="sentence"/><l><option>list</option></l></block><script><block s="doIfElse"><block s="reportListIsEmpty"><block var="sentence"/></block><script><custom-block s="error %txt"><l>All but first of empty sentence.</l></custom-block></script><script><block s="doReport"><block s="reportCDR"><block var="sentence"/></block></block></script></block></script><list></list></block><block s="doReport"><custom-block s="list $arrowRight sentence %l"><block s="reportCDR"><custom-block s="require nonempty %s %s"><custom-block s="sentence $arrowRight list %txt"><block var="sentence"/></custom-block><l>All but first of empty sentence.</l></custom-block></block></custom-block></block></script></block-definition><block-definition s="all but last letter of %&apos;string&apos;" type="reporter" category="operators"><comment x="0" y="0" w="218" collapsed="false">Takes a text string as input, and reports a new text string containing all but the last letter of the input.</comment><header></header><code></code><translations>pt:_ sem o último caractere&#xD;</translations><inputs><input type="%txt"></input></inputs><script><block s="doIf"><block s="reportIsA"><block var="string"/><l><option>list</option></l></block><script><block s="doReport"><block s="reportMap"><block s="reifyReporter"><autolambda><custom-block s="all but last letter of %txt"><l></l></custom-block></autolambda><list></list></block><block var="string"/></block></block></script><list></list></block><block s="doReport"><block s="reportJoinWords"><block s="reportListAttribute"><l><option>reverse</option></l><block s="reportCDR"><block s="reportListAttribute"><l><option>reverse</option></l><block s="reportTextSplit"><custom-block s="require nonempty %s %s"><block var="string"/><l>All but first of empty word.</l></custom-block><l><option>letter</option></l></block></block></block></block></block></block></script></block-definition><block-definition s="all but last word of %&apos;sentence&apos;" type="reporter" category="operators"><comment x="0" y="0" w="211.99999999999997" collapsed="false">Takes a text string as input, divides it into words treating one or more spaces as a word separator (only spaces count; punctuation is part of the word) and reports a text string containing all but the last word, with one space between words and no spaces at the beginning or end.  (Note: consider using SENTENCE-&gt;LIST and processing the resulting list instead of doing recursion on sentences in text string form.  List operations are faster.)</comment><header></header><code></code><translations>pt:_ sem a última palavra&#xD;</translations><inputs><input type="%txt"></input></inputs><script><block s="doIf"><block s="reportIsA"><block var="sentence"/><l><option>list</option></l></block><script><block s="doIfElse"><block s="reportListIsEmpty"><block var="sentence"/></block><script><custom-block s="error %txt"><l>All but last of empty sentence.</l></custom-block></script><script><block s="doReport"><block s="reportListAttribute"><l><option>reverse</option></l><block s="reportCDR"><block s="reportListAttribute"><l><option>reverse</option></l><block var="sentence"/></block></block></block></block></script></block></script><list></list></block><block s="doReport"><custom-block s="list $arrowRight sentence %l"><block s="reportListAttribute"><l><option>reverse</option></l><block s="reportCDR"><block s="reportListAttribute"><l><option>reverse</option></l><custom-block s="require nonempty %s %s"><custom-block s="sentence $arrowRight list %txt"><block var="sentence"/></custom-block><l>All but last of empty sentence.</l></custom-block></block></block></block></custom-block></block></script></block-definition><block-definition s="first word of %&apos;sentence&apos;" type="reporter" category="operators"><comment x="0" y="0" w="236" collapsed="false">Takes a text string as input, divides it into words treating one or more spaces as a word separator (only spaces count; punctuation is part of the word) and reports a text string containing only the first word, with no spaces before or after it.</comment><header></header><code></code><translations>pt:a primeira palavra de _&#xD;</translations><inputs><input type="%txt"></input></inputs><script><block s="doIfElse"><block s="reportIsA"><block var="sentence"/><l><option>list</option></l></block><script><block s="doIfElse"><block s="reportListIsEmpty"><block var="sentence"/></block><script><custom-block s="error %txt"><l>First of empty sentence.</l></custom-block></script><script><block s="doReport"><block s="reportListItem"><l>1</l><block var="sentence"/></block></block></script></block></script><script><block s="doReport"><block s="reportListItem"><l>1</l><custom-block s="require nonempty %s %s"><custom-block s="sentence $arrowRight list %txt"><block var="sentence"/></custom-block><l>First of empty sentence.</l></custom-block></block></block></script></block></script></block-definition><block-definition s="last letter of %&apos;word&apos;" type="reporter" category="operators"><comment x="0" y="0" w="260" collapsed="false">Takes a text string as input, and reports the last character in the string.</comment><header></header><code></code><translations>pt:o último caractere de _&#xD;</translations><inputs><input type="%txt"></input></inputs><script><block s="doIf"><block s="reportIsA"><block var="word"/><l><option>list</option></l></block><script><block s="doReport"><block s="reportMap"><block s="reifyReporter"><autolambda><custom-block s="last letter of %txt"><l></l></custom-block></autolambda><list></list></block><block var="word"/></block></block></script><list></list></block><block s="doIf"><block s="reportVariadicEquals"><list><block s="reportTextAttribute"><l><option>length</option></l><block var="word"/></block><l>0</l></list></block><script><custom-block s="error %txt"><l>Last of empty word.</l></custom-block></script><list></list></block><block s="doReport"><block s="reportLetter"><block s="reportTextAttribute"><l><option>length</option></l><block var="word"/></block><block var="word"/></block></block></script></block-definition><block-definition s="last word of %&apos;sentence&apos;" type="reporter" category="operators"><comment x="0" y="0" w="262" collapsed="false">Takes a text string as input, divides it into words treating one or more spaces as a word separator (only spaces count; punctuation is part of the word) and reports a text string containing only the last word of the input, with no spaces before or after it.</comment><header></header><code></code><translations>pt:a última palavra de _&#xD;</translations><inputs><input type="%txt"></input></inputs><script><block s="doIf"><block s="reportIsA"><block var="sentence"/><l><option>list</option></l></block><script><block s="doIfElse"><block s="reportListIsEmpty"><block var="sentence"/></block><script><custom-block s="error %txt"><l>Last of empty sentence.</l></custom-block></script><script><block s="doReport"><block s="reportListItem"><l><option>last</option></l><block var="sentence"/></block></block></script></block></script><list></list></block><block s="doReport"><block s="reportListItem"><l><option>last</option></l><custom-block s="require nonempty %s %s"><custom-block s="sentence $arrowRight list %txt"><block var="sentence"/></custom-block><l>Last of empty sentence.</l></custom-block></block></block></script></block-definition><block-definition s="empty word? %&apos;word&apos;" type="predicate" category="operators"><comment x="0" y="0" w="208" collapsed="false">Takes a text string as input, and reports TRUE if the string has no characters in it of any kind, otherwise false.</comment><header></header><code></code><translations>pt:a palavra _ está vazia&#xD;</translations><inputs><input type="%txt"></input></inputs><script><block s="doIf"><block s="reportIsA"><block var="word"/><l><option>list</option></l></block><script><block s="doReport"><block s="reportMap"><block s="reifyReporter"><autolambda><custom-block s="empty word? %txt"><l></l></custom-block></autolambda><list></list></block><block var="word"/></block></block></script><list></list></block><block s="doReport"><block s="reportVariadicEquals"><list><block s="reportTextAttribute"><l><option>length</option></l><block var="word"/></block><l>0</l></list></block></block></script></block-definition><block-definition s="empty sentence? %&apos;sentence&apos;" type="predicate" category="operators"><comment x="0" y="0" w="221" collapsed="false">Takes a text string as input, and reports TRUE if the input contains no characters other than spaces (therefore, no words when the string is considered as a sentence), otherwise FALSE.</comment><header></header><code></code><translations>pt:a frase _ está vazia&#xD;</translations><inputs><input type="%txt"></input></inputs><script><block s="doIf"><block s="reportIsA"><block var="sentence"/><l><option>list</option></l></block><script><block s="doReport"><block s="reportListIsEmpty"><block var="sentence"/></block></block></script><list></list></block><block s="doReport"><block s="reportListIsEmpty"><custom-block s="sentence $arrowRight list %txt"><block var="sentence"/></custom-block></block></block></script></block-definition><block-definition s="join words %&apos;words&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%mult%txt"></input></inputs><script><block s="doWarp"><script><block s="doIf"><block s="reportListIsEmpty"><block s="reportCDR"><block var="words"/></block></block><script><block s="doReport"><block s="reportListItem"><l>1</l><block var="words"/></block></block></script><list></list></block><block s="doIf"><block s="reportVariadicEquals"><list><l></l><block s="reportListItem"><l>1</l><block var="words"/></block></list></block><script><block s="doReport"><custom-block s="join words %mult%txt"><block s="reportCDR"><block var="words"/></block></custom-block></block></script><list></list></block><block s="doIf"><block s="reportVariadicEquals"><list><l></l><block s="reportListItem"><l>2</l><block var="words"/></block></list></block><script><block s="doReport"><custom-block s="join words %mult%txt"><block s="reportCONS"><block s="reportListItem"><l>1</l><block var="words"/></block><block s="reportCDR"><block s="reportCDR"><block var="words"/></block></block></block></custom-block></block></script><list></list></block><block s="doReport"><block s="reportJoinWords"><list><block s="reportListItem"><l>1</l><block var="words"/></block><l> </l><custom-block s="join words %mult%txt"><block s="reportCDR"><block var="words"/></block></custom-block></list></block></block></script></block></script><scripts><script x="229.00000299999996" y="196.77778077777774"><block s="reportJoinWords"><list><l></l><l></l></list></block></script></scripts></block-definition><block-definition s="list $arrowRight sentence %&apos;data&apos;" type="reporter" category="operators"><comment x="0" y="0" w="165.33333333333334" collapsed="false">Takes a sentence in list form and reports the sentence as a text string.</comment><header></header><code></code><translations>de:Liste $arrowRight Satz _&#xD;ca:llista $arrowRight frase _&#xD;es:lista $arrowRight frase _&#xD;fr:liste $arrowRight phrase _&#xD;pt:uma frase com as palavras em _&#xD;</translations><inputs><input type="%l"></input></inputs><script><block s="doReport"><custom-block s="join words %mult%txt"><block var="data"/></custom-block></block></script></block-definition><block-definition s="sentence $arrowRight list %&apos;text&apos;" type="reporter" category="operators"><comment x="0" y="0" w="196" collapsed="false">Takes a sentence in text string form and reports the sentence as a list of its words.</comment><header></header><code></code><translations>de:Satz $arrowRight Liste _&#xD;ca:frase $arrowRight llista _&#xD;es:frase $arrowRight lista _&#xD;fr:phrase $arrowRight liste _&#xD;pt:uma lista com as palavras da frase _&#xD;</translations><inputs><input type="%txt"></input></inputs><script><block s="doReport"><block s="reportKeep"><block s="reifyPredicate"><autolambda><block s="reportNot"><block s="reportVariadicEquals"><list><block s="reportTextAttribute"><l><option>length</option></l><l></l></block><l>0</l></list></block></block></autolambda><list></list></block><block s="reportTextSplit"><block var="text"/><l><option>word</option></l></block></block></block></script></block-definition><block-definition s="word $arrowRight list %&apos;word&apos;" type="reporter" category="operators"><comment x="0" y="0" w="146.42857142857144" collapsed="false">report a list in which each item is one letter from the input word</comment><header></header><code></code><translations>de:Wort $arrowRight Liste _&#xD;ca:paraula $arrowRight llista _&#xD;es:palabra $arrowRight lista _&#xD;fr:mot $arrowRight liste _&#xD;pt:uma lista com os caracteres da palavra _&#xD;</translations><inputs><input type="%txt"></input></inputs><script><block s="doIf"><block s="reportIsA"><block var="word"/><l><option>list</option></l></block><script><block s="doReport"><block s="reportMap"><block s="reifyReporter"><autolambda><custom-block s="word $arrowRight list %txt"><l></l></custom-block></autolambda><list></list></block><block var="word"/></block></block></script><list></list></block><block s="doReport"><block s="reportTextSplit"><block var="word"/><l><option>letter</option></l></block></block></script></block-definition><block-definition s="list $arrowRight word %&apos;list&apos;" type="reporter" category="operators"><comment x="0" y="0" w="158.57142857142858" collapsed="false">join all the items of the input list&#xD;into a single word, and report it</comment><header></header><code></code><translations>de:Liste $arrowRight Wort _&#xD;ca:llista $arrowRight paraula _&#xD;es:lista $arrowRight palabra _&#xD;fr:liste $arrowRight mot _&#xD;pt:uma palavra com os caracteres em _&#xD;</translations><inputs><input type="%l"></input></inputs><script><block s="doIf"><block s="reportListIsEmpty"><block var="list"/></block><script><block s="doReport"><block var="list"/></block></script><list></list></block><block s="doIf"><block s="reportVariadicEquals"><list><block s="reportFindFirst"><block s="reifyPredicate"><autolambda><block s="reportIsA"><l></l><l><option>list</option></l></block></autolambda><list></list></block><block var="list"/></block><l></l></list></block><script><block s="doReport"><block s="reportJoinWords"><block var="list"/></block></block></script><list></list></block><block s="doReport"><block s="reportMap"><block s="reifyReporter"><autolambda><block s="reportIfElse"><block s="reportIsA"><l></l><l><option>list</option></l></block><block s="reportNewList"><list><custom-block s="list $arrowRight word %l"><l/></custom-block></list></block><l></l></block></autolambda><list></list></block><block var="list"/></block></block></script></block-definition><block-definition s="sentence %&apos;phrase&apos;" type="reporter" category="lists"><comment x="0" y="0" w="302.6666666666667" collapsed="false">SENTENCE is the main constructor for sentences, represented&#xD;as lists of words.  It takes zero or more inputs, each of which can&#xD;be either a list or a text string.  If a list, the input is assumed to be&#xD;a list of words.  If a text string, it is converted to a list of words using&#xD;SENTENCE→LIST.  Then all the lists of words are appended to form a new list of words.&#xD;&#xD;If the inputs are lists of lists rather than lists of words, SENTENCE,&#xD;like APPEND, does only one level of flattening, reporting a list of&#xD;all the items of all the input lists.</comment><header></header><code></code><translations></translations><inputs><input type="%mult%s"></input></inputs><script><block s="doReport"><block s="reportConcatenatedLists"><block s="reportMap"><block s="reifyReporter"><autolambda><block s="reportIfElse"><block s="reportIsA"><l></l><l><option>list</option></l></block><l></l><custom-block s="sentence $arrowRight list %txt"><l></l></custom-block></block></autolambda><list></list></block><block var="phrase"/></block></block></block></script></block-definition><block-definition s="error %&apos;msg&apos;" type="command" category="control"><header></header><code></code><translations>pt:lança o erro _&#xD;</translations><inputs><input type="%txt"></input></inputs><script><block s="doApplyExtension"><l>err_error(msg)</l><list><block var="msg"/></list></block></script></block-definition><block-definition s="printable %&apos;data&apos;" type="reporter" category="lists"><comment x="0" y="0" w="188.66666666666666" collapsed="false">Takes a (possibly deep) list as input,&#xD;and reports a human-readable text form &#xD;of the list (namely, Lisp notation).</comment><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doIf"><block s="reportNot"><block s="reportIsA"><block var="data"/><l><option>list</option></l></block></block><script><block s="doReport"><block var="data"/></block></script><list></list></block><block s="doIf"><block s="reportListIsEmpty"><block var="data"/></block><script><block s="doReport"><l>()</l></block></script><list></list></block><block s="doReport"><block s="reportJoinWords"><list><l>(</l><block s="reportCombine"><block s="reportMap"><block s="reifyReporter"><autolambda><custom-block s="printable %l"><l/></custom-block></autolambda><list></list></block><block var="data"/></block><block s="reifyReporter"><autolambda><block s="reportJoinWords"><list><l></l><l> </l><l></l></list></block></autolambda><list></list></block></block><l>)</l></list></block></block></script></block-definition><block-definition s="require nonempty %&apos;text&apos; %&apos;message&apos;" type="reporter" category="operators" helper="true"><comment x="0" y="0" w="220" collapsed="false">Helper function for word/sentence library.&#xD;Reports its first input, unless that input is empty, in which case it gives its second input as an error message.</comment><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input></inputs><script><block s="doIfElse"><block s="reportIfElse"><block s="reportIsA"><block var="text"/><l><option>list</option></l></block><block s="reportListIsEmpty"><block var="text"/></block><block s="reportVariadicEquals"><list><block s="reportTextAttribute"><l><option>length</option></l><block var="text"/></block><l>0</l></list></block></block><script><custom-block s="error %txt"><block var="message"/></custom-block></script><script><block s="doReport"><block var="text"/></block></script></block></script></block-definition><block-definition s="first letter of %&apos;word&apos;" type="reporter" category="operators"><comment x="0" y="0" w="260" collapsed="false">Takes a text string as input, and reports the first character in the string.</comment><header></header><code></code><translations>pt:a primeira palavra de _&#xD;</translations><inputs><input type="%txt"></input></inputs><script><block s="doIfElse"><block s="reportIsA"><block var="word"/><l><option>list</option></l></block><script><block s="doReport"><block s="reportMap"><block s="reifyReporter"><autolambda><custom-block s="first letter of %txt"><l></l></custom-block></autolambda><list></list></block><block var="word"/></block></block></script><script><block s="doReport"><block s="reportLetter"><l>1</l><custom-block s="require nonempty %s %s"><block var="word"/><l>First of empty word.</l></custom-block></block></block></script></block></script></block-definition><block-definition s="multiline %&apos;text&apos;" type="reporter" category="operators"><header></header><code></code><translations>pt:o texto multilinha _&#xD;</translations><inputs><input type="%mlt"></input></inputs><script><block s="doReport"><block var="text"/></block></script></block-definition><block-definition s="substring of %&apos;string&apos; before %&apos;marker&apos;" type="reporter" category="operators"><comment x="0" y="0" w="175.33333333333334" collapsed="false">Reports the part of the first string up to the first instance of the second string inside it.  If the second string isn&apos;t found, reports the entire first string.</comment><header></header><code></code><translations>pt:o texto de _ antes de _&#xD;</translations><inputs><input type="%txt"></input><input type="%txt"></input></inputs><script><block s="doDeclareVariables"><list><l>index</l></list></block><block s="doSetVar"><l>index</l><custom-block s="position of %s in %txt"><block var="marker"/><block var="string"/></custom-block></block><block s="doReport"><block s="reportIfElse"><block s="reportVariadicEquals"><list><block var="index"/><l>0</l></list></block><block var="string"/><custom-block s="substring of %txt from position %n to position %n inclusive"><block var="string"/><l>1</l><block s="reportDifference"><block var="index"/><l>1</l></block></custom-block></block></block></script></block-definition><block-definition s="substring of %&apos;string&apos; after %&apos;marker&apos;" type="reporter" category="operators"><comment x="0" y="0" w="203.33333333333334" collapsed="false">Reports the portion of the first input string starting after the first occurrence of the second string.  If the second string isn&apos;t found in the first string, reports an empty string.</comment><header></header><code></code><translations>pt:o texto de _ depois de _&#xD;</translations><inputs><input type="%txt"></input><input type="%txt"></input></inputs><script><block s="doDeclareVariables"><list><l>index</l></list></block><block s="doSetVar"><l>index</l><custom-block s="position of %s in %txt"><block var="marker"/><block var="string"/></custom-block></block><block s="doReport"><block s="reportIfElse"><block s="reportVariadicEquals"><list><block var="index"/><l>0</l></list></block><l></l><custom-block s="substring of %txt from position %n to position %n inclusive"><block var="string"/><block s="reportVariadicSum"><list><block var="index"/><block s="reportTextAttribute"><l><option>length</option></l><block var="marker"/></block></list></block><l></l></custom-block></block></block></script></block-definition><block-definition s="position of %&apos;small&apos; in %&apos;large&apos;" type="reporter" category="operators"><comment x="0" y="0" w="294" collapsed="false">Reports the character position (starting from 1) of the beginning of the first input string inside the second input string.&#xD;If it&apos;s not found, reports 0.</comment><header></header><code></code><translations>pt:a posição de _ em _&#xD;</translations><inputs><input type="%s"></input><input type="%txt"></input></inputs><script><block s="doReport"><block s="reportIfElse"><custom-block s="use case-independent comparison"></custom-block><block s="reportApplyExtension"><l>txt_indexof(sub, txt)</l><list><custom-block s="to lower case %txt"><block var="small"/></custom-block><custom-block s="to lower case %txt"><block var="large"/></custom-block></list></block><block s="reportApplyExtension"><l>txt_indexof(sub, txt)</l><list><block var="small"/><block var="large"/></list></block></block></block></script></block-definition><block-definition s="use case-independent comparisons %&apos;tf&apos;" type="command" category="operators"><comment x="0" y="0" w="225.33333333333334" collapsed="false">If input is TRUE, comparisons made by functions in the string library will be case-independent (so &quot;FOO&quot; = &quot;foo&quot;).  This is the default.&#xD;If input is FALSE, comparisons will be exact.</comment><header></header><code></code><translations>pt:altera comparações ignorando distinção minúsculas/maiúsculas para _&#xD;</translations><inputs><input type="%b"></input></inputs><script><block s="doIfElse"><block s="reportNot"><block var="tf"/></block><script><block s="doApplyExtension"><l>var_declare(scope, name)</l><list><l>global</l><l>_case indepent</l></list></block><block s="doApplyExtension"><l>var_set(name, val)</l><list><l>_case indepent</l><block s="reportBoolean"><l><bool>false</bool></l></block></list></block></script><script><block s="doApplyExtension"><l>var_delete(name)</l><list><l>_case indepent</l></list></block></script></block></script></block-definition><block-definition s="substring of %&apos;str&apos; from position %&apos;start&apos; to position %&apos;end&apos; inclusive" type="reporter" category="operators"><comment x="0" y="0" w="297.3333333333333" collapsed="false">Reports the portion of the first input (string) starting at the position given by the second input (counting from 1, like LETTER n OF) and ending at the position given by the third input (also counting from 1).  If the third input is empty, reports the portion from the first position to the end of the string.&#xD;If a position number is negative, counts from the end backward, so -1 is the last character, -2 is the next to last, etc.</comment><header></header><code></code><translations>pt:o texto de _ entre as posições _ e _ , inclusive&#xD;</translations><inputs><input type="%txt"></input><input type="%n"></input><input type="%n"></input></inputs><script><block s="doReport"><block s="reportJoinWords"><block s="reportLetter"><block s="reportNumbers"><block s="reportIfElse"><block s="reportVariadicLessThan"><list><block var="start"/><l>0</l></list></block><block s="reportVariadicSum"><list><block s="reportVariadicSum"><list><block var="start"/><l>1</l></list></block><block s="reportTextAttribute"><l><option>length</option></l><block var="str"/></block></list></block><block var="start"/></block><block s="reportIfElse"><block s="reportVariadicEquals"><list><block var="end"/><l>0</l></list></block><block s="reportTextAttribute"><l><option>length</option></l><block var="str"/></block><block s="reportIfElse"><block s="reportVariadicLessThan"><list><block var="end"/><l>0</l></list></block><block s="reportVariadicSum"><list><block s="reportVariadicSum"><list><block var="end"/><l>1</l></list></block><block s="reportTextAttribute"><l><option>length</option></l><block var="str"/></block></list></block><block var="end"/></block></block></block><block var="str"/></block></block></block></script></block-definition><block-definition s="text %&apos;string&apos; contains %&apos;marker&apos;" type="predicate" category="operators"><comment x="0" y="0" w="218" collapsed="false">Reports True if the first input string contains the second input string, otherwise false.&#xD;&#xD;Comparison is case-independent by default; use USE CASE-INDEPENDENT COMPARISONS to change that.</comment><header></header><code></code><translations>pt:o texto de _ antes de _&#xD;</translations><inputs><input type="%txt"></input><input type="%txt"></input></inputs><script><block s="doReport"><block s="reportVariadicGreaterThan"><list><custom-block s="position of %s in %txt"><block var="marker"/><block var="string"/></custom-block><l>0</l></list></block></block></script></block-definition><block-definition s="to lower case %&apos;text&apos;" type="reporter" category="operators"><comment x="0" y="0" w="275.3333333333333" collapsed="false">Reports the input text with lower case letters instead of capital letters in the input.  Uses the user&apos;s locale&apos;s rules for case conversion.</comment><header></header><code></code><translations>pt:em minúsculas _&#xD;</translations><inputs><input type="%txt"></input></inputs><script><block s="doReport"><block s="reportApplyExtension"><l>txt_lowercase(txt)</l><list><block var="text"/></list></block></block></script></block-definition><block-definition s="use case-independent comparison" type="predicate" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doDeclareVariables"><list><l>result</l></list></block><block s="doApplyExtension"><l>err_try(cmd, catch, err)</l><list><block s="reifyScript"><script><block s="doSetVar"><l>result</l><block s="reportApplyExtension"><l>var_get(name)</l><list><l>_case indepent</l></list></block></block></script><list></list></block><block s="reifyScript"><script><block s="doSetVar"><l>result</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script><list></list></block><l></l></list></block><block s="doApplyExtension"><l>err_reset</l><list></list></block><block s="doReport"><block var="result"/></block></script></block-definition><block-definition s="string %&apos;big&apos; contains %&apos;small&apos; ?" type="predicate" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input></inputs><script><block s="doReport"><custom-block s="text %txt contains %txt"><block var="big"/><block var="small"/></custom-block></block></script></block-definition><block-definition s="name from contact %&apos;contact&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doForEach"><l>item</l><block var="contact"/><script><block s="doSetVar"><l>names</l><block s="reportListItem"><l>1</l><block var="item"/></block></block></script></block><block s="doReport"><block var="names"/></block></script><scripts><script x="176.474609375" y="130.50000000000006"><block var="contact"/></script></scripts></block-definition><block-definition s="address from contact %&apos;contact&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doReport"><block s="reportListItem"><l>2</l><l/></block></block></script></block-definition><block-definition s="phone from contact %&apos;contact&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doReport"><block s="reportListItem"><l>3</l><block var="contact"/></block></block></script></block-definition><block-definition s="contact with name: %&apos;name&apos; address: %&apos;address&apos; phone number: %&apos;phone&apos; birthdate: %&apos;birthdate&apos; Metro expiration date: %&apos;Expiration&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%txt" initial="1"></input><input type="%txt" initial="1"></input><input type="%txt" initial="1"></input><input type="%l" initial="1"></input><input type="%l" initial="1"></input></inputs><script><block s="doReport"><block s="reportNewList"><list><block var="name"/><block var="address"/><block var="phone"/><block var="birthdate"/><block var="Expiration"/></list></block></block></script></block-definition><block-definition s="date %&apos;month&apos; %&apos;day&apos; %&apos;year&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s" initial="1"></input><input type="%s" initial="1"></input><input type="%s" initial="1"></input></inputs><script><block s="doReport"><block s="reportNewList"><list><block var="month"/><block var="day"/><block var="year"/></list></block></block></script></block-definition><block-definition s="month from date: %&apos;date&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%l" initial="1"></input></inputs><script><block s="doReport"><block s="reportListItem"><l>1</l><block var="date"/></block></block></script></block-definition><block-definition s="day from date: %&apos;date&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%l" initial="1"></input></inputs><script><block s="doReport"><block s="reportListItem"><l>2</l><block var="date"/></block></block></script></block-definition><block-definition s="year from date: %&apos;date&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%l" initial="1"></input></inputs><script><block s="doReport"><block s="reportListItem"><l>3</l><block var="date"/></block></block></script></block-definition><block-definition s="birthdate from contact %&apos;contact&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doReport"><block s="reportListItem"><l>4</l><block var="contact"/></block></block></script></block-definition><block-definition s="find contacts with name: %&apos;name&apos;" type="reporter" category="variables"><header></header><code></code><translations></translations><inputs><input type="%txt" initial="1"></input></inputs><script><block s="doForEach"><l>item</l><block var="contact list"/><script><block s="doIf"><block s="reportListContainsItem"><block var="item"/><block var="name"/></block><script><block s="doAddToList"><block var="name"/><block var="match"/></block></script><list></list></block></script></block><block s="doReport"><block var="match"/></block></script></block-definition><block-definition s="initials from contact: %&apos;contact&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doDeclareVariables"><list><l>list of names</l></list></block><block s="doSetVar"><l>list of names</l><block s="reportTextSplit"><block var="contact"/><l><option>word</option></l></block></block><block s="doReport"><custom-block s="join words %mult%txt"><list><block s="reportMap"><block s="reifyReporter"><autolambda><block s="reportLetter"><l>1</l><l></l></block></autolambda><list></list></block><block var="list of names"/></block><block s="reportMap"><block s="reifyReporter"><autolambda><block s="reportLetter"><l>2</l><l></l></block></autolambda><list></list></block><block var="list of names"/></block></list></custom-block></block></script><scripts><script x="151.1181640625001" y="204.66666666666697"><block s="reportListItem"><l>1</l><block var="list of names"/></block></script></scripts></block-definition><block-definition s="Expiration from contact %&apos;contact&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doReport"><block s="reportListItem"><l>5</l><block var="contact"/></block></block></script></block-definition><block-definition s="Todays Date" type="reporter" category="variables"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><block s="reportNewList"><list><block s="reportDate"><l><option>month</option></l></block><block s="reportDate"><l><option>date</option></l></block><block s="reportDate"><l><option>year</option></l></block></list></block></block></script></block-definition></blocks><primitives></primitives><stage name="Stage" width="480" height="360" costume="0" color="255,255,255,1" tempo="60" threadsafe="false" penlog="false" volume="100" pan="0" lines="round" ternary="false" hyperops="true" codify="false" inheritance="true" sublistIDs="false" id="2315"><pentrails>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAQAElEQVR4AezVC27kNhAEUCP3P3SC/NZeez6SSDWb9YJg1zsjkV2vDdQfH/4jQIAAAQIEb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gWkJ7AeQEFfN7OmwQIECBA4LSAAj5N50UCBAhkC0h/TUABX/PzNgECBAgQOCWggE+xeYkAAQIEsgWup1fA1w2dQIAAAQIEDgso4MNkXiBAgAABAtcFOhfw9fROIECAAAECRQIKuAjetQQIECCQLaCAu+7f3AQIECDQWkABt16f4QkQIECgq4AC7rq57LmlJ0CAQHsBBdx+hQIQIECAQEcBBdxxa2bOFpCeAIEtBBTwFmsUggABAgS6CSjgbhszL4FsAekJbCOggLdZpSAECBAg0ElAAXfallkJEMgWkH4rAQW81TqFIUCAAIEuAgq4y6bMSYAAgWyB7dIr4O1WKhABAgQIdBBQwB22ZEYCBAgQ2E7gUAFvl14gAgQIECBQJKCAi+BdS4AAAQLZAgr47f17kAABAgQIjBNQwOMsnUSAAAECBN4WUMBvU2U/KD0BAgQIjBVQwGM9nUaAAAECBN4SUMBvMXkoW0B6AgQIjBdQwONNnUiAAAECBF4KKOCXRB4gkC0gPQECcwQU8BxXpxIgQIAAgacCCvgpjy8JEMgWkJ7APAEFPM/WyQQIECBA4KGAAn5I4wsCBAhkC0g/V0ABz/V1OgECBAgQ+FFAAf/I4kMCBAgQyBaYn14Bzzd2AwECBAgQ+CaggL+R+IAAAQIECMwXWLmA56d3AwECBAgQKBJQwEXwriVAgACBbAEFvOr+zUWAAAECWwso4K3XKxwBAgQIrCrwJwAAAP//lVwoVAAAAAZJREFUAwDU5ALRcl29HAAAAABJRU5ErkJggg==</pentrails><costumes><list struct="atomic" id="2316"></list></costumes><sounds><list struct="atomic" id="2317"></list></sounds><variables></variables><blocks></blocks><scripts><script x="29" y="22"><block s="receiveInteraction"><l><option>stopped</option></l></block><custom-block s="stop all %txt"><l>A</l></custom-block></script><script x="188" y="24"><block s="receiveInteraction"><l><option>stopped</option></l></block><custom-block s="stop all %txt"><l>B</l></custom-block></script><script x="347" y="19"><block s="receiveInteraction"><l><option>stopped</option></l></block><custom-block s="stop all %txt"><l>C</l></custom-block></script><script x="152" y="50"><block s="receiveGo"></block><block s="doApplyExtension"><l>src_load(url)</l><list><l>https://www.birdbraintechnologies.com/downloads/installers/BirdBrainExtension.js</l></list></block></script></scripts><sprites select="1"><sprite name="Sprite" idx="1" x="-119.3108107043854" y="-131.80206594159512" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="80,80,80,1" pen="tip" id="2340"><costumes><list struct="atomic" id="2341"></list></costumes><sounds><list struct="atomic" id="2342"></list></sounds><blocks></blocks><variables></variables><scripts><script x="10" y="61.999999999999886"><block s="receiveKey"><l><option>space</option></l><list></list></block><custom-block s="connect %txt"><l>A</l></custom-block></script><script x="10" y="136.0000000000001"><block s="receiveKey"><l><option>v</option></l><list></list></block><block s="doIf"><block s="reportKeyPressed"><l><option>a</option></l></block><script><block s="doSayFor"><l>Validation Mode Entered</l><l>0.5</l></block><block s="doAsk"><l>Enter Card Binary ID</l></block><block s="doAddToList"><block s="getLastAnswer"></block><block var="Validated ID Cards"/></block></script><list></list></block></script><script x="72.00000000000011" y="10"><custom-block s="contact with name: %txt address: %txt phone number: %txt birthdate: %l Metro expiration date: %l"><l>Eli</l><l>789 ave</l><l>4949</l><block s="reportNewList"><list><l>9</l><l>17</l><l>2008</l></list></block><block s="reportNewList"><list><l>6</l><l>7</l><l>2026</l></list></block></custom-block></script><script x="40.33333333333337" y="352.33333333333354"><block s="receiveGo"></block><block s="doForever"><script><block s="doSetVar"><l>sensor1</l><block s="reportVariadicGreaterThan"><list><custom-block s="Hummingbird %txt %txt %n"><l>A</l><l>Light</l><l>1</l></custom-block><l>30</l></list></block></block><block s="doIfElse"><block s="reportVariadicEquals"><list><block var="sensor1"/><block s="reportBoolean"><l><bool>false</bool></l></block></list></block><script><block s="doSayFor"><l>Card Accepted!</l><l>2</l></block><custom-block s="Hummingbird %txt Position Servo %n %n °"><l>A</l><l>2</l><l>90</l></custom-block><block s="doWait"><l>2</l></block><custom-block s="Hummingbird %txt Position Servo %n %n °"><l>A</l><l>2</l><l>0</l></custom-block></script><script><block s="doSayFor"><l>Metro card  not valid </l><l>2</l></block></script></block></script></block></script></scripts></sprite><watcher var="threshhold" style="normal" x="40" y="40" color="243,118,29" hidden="true"/><watcher var="Metro ID" style="normal" x="40" y="40" color="243,118,29" hidden="true"/><watcher var="Date" style="normal" x="40" y="124.00000799999958" color="243,118,29" hidden="true"/><watcher var="contact list" style="normal" x="40" y="0" color="243,118,29" hidden="true"/><watcher var="Today&apos;s riders" style="normal" x="14.80966040529347" y="26.87997719478102" color="243,118,29" hidden="true"/><watcher var="expiration" style="normal" x="123.71134020618501" y="20.78350515463915" color="243,118,29" hidden="true"/><watcher var="metro list" style="normal" x="221.3195517763097" y="16.843069403455274" color="243,118,29" hidden="true"/><watcher var="Validated ID Cards" style="normal" x="10" y="10" color="243,118,29" extX="80" extY="70"/><watcher var="7" style="normal" x="9.896907216494583" y="140.9598726095613" color="243,118,29" hidden="true"/><watcher var="Binary ID" style="normal" x="132.691650390625" y="19.876577469970698" color="243,118,29"/><watcher var="names" style="normal" x="10" y="103.000002" color="243,118,29" hidden="true"/><watcher var="sensor1" style="normal" x="29" y="122.00000799999958" color="243,118,29"/><watcher var="sensor2" style="normal" x="32" y="150.00001599999953" color="243,118,29"/><watcher var="sensor3" style="normal" x="28" y="193.9999919999999" color="243,118,29"/></sprites></stage><variables><variable name="7"><l>13</l></variable><variable name="threshhold"><l>3</l></variable><variable name="sensor1"><bool>true</bool></variable><variable name="sensor2"><l>1</l></variable><variable name="sensor3"><l>0</l></variable><variable name="Metro ID"><list struct="atomic" id="2451"></list></variable><variable name="Date"><l></l></variable><variable name="contact list"><list struct="atomic" id="2452"></list></variable><variable name="match"><list struct="atomic" id="2453"></list></variable><variable name="names"><l>Donald  j</l></variable><variable name="Today&apos;s riders"><list id="2454"><item><list struct="atomic" id="2455">4,3,2025</list></item><item><ref id="2455"></ref></item><item><list struct="atomic" id="2456">4,3,2025</list></item><item><ref id="2456"></ref></item><item><ref id="2456"></ref></item><item><ref id="2456"></ref></item><item><ref id="2456"></ref></item><item><ref id="2456"></ref></item><item><ref id="2456"></ref></item><item><ref id="2456"></ref></item><item><ref id="2456"></ref></item><item><ref id="2456"></ref></item><item><ref id="2456"></ref></item><item><ref id="2456"></ref></item><item><ref id="2456"></ref></item><item><ref id="2456"></ref></item><item><ref id="2456"></ref></item><item><ref id="2456"></ref></item><item><ref id="2456"></ref></item><item><ref id="2456"></ref></item><item><ref id="2456"></ref></item></list></variable><variable name="expiration"><ref id="2456"></ref></variable><variable name="metro list"><list id="2457"><item><list id="2458"><item><l>Donald</l></item><item><l>1234 ave</l></item><item><l>3772737723</l></item><item><list struct="atomic" id="2459">12,2,2004</list></item><item><list struct="atomic" id="2460">4,3,2020</list></item></list></item><item><list id="2461"><item><l>avery</l></item><item><l>456 ave</l></item><item><l>585848959</l></item><item><list struct="atomic" id="2462">12,3,2011</list></item><item><ref id="2455"></ref></item></list></item><item><list id="2463"><item><l>jake</l></item><item><l>789 ave</l></item><item><l>4949</l></item><item><list struct="atomic" id="2464">12,3,2011</list></item><item><ref id="2456"></ref></item></list></item><item><list id="2465"><item><l>jake</l></item><item><l>789 ave</l></item><item><l>4949</l></item><item><list struct="atomic" id="2466">12,3,2011</list></item><item><list struct="atomic" id="2467">4,3,2024</list></item></list></item></list></variable><variable name="Validated ID Cards"><list struct="atomic" id="2468">000,100,110,110,111,011</list></variable><variable name="Binary ID"><l>110</l></variable></variables></scene></scenes></project><media name="U3L2R Metro access control" app="Snap! 11.0.8, https://snap.berkeley.edu" version="2"></media></snapdata>