Skip to content

Commit b958722

Browse files
committed
Cleanup variadic blocks image ch1
1 parent d2df627 commit b958722

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed
-14.9 KB
Loading

01-blocks-scripts-and-sprites/index.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ in the Control palette\index{Control palette}. The slot inside the C
103103
shape is a special kind of input slot that accepts a *script* as the
104104
input.
105105

106+
<!-- TODO-mb: These images are a bit small on the web. -->
106107
::: {.evenly-spaced-images layout-ncol=4}
107108
In the sample script
108109

@@ -439,7 +440,7 @@ shorthand for “Command type, Reporter type, or Predicate type.”
439440
If you want to put
440441
a *constant* Boolean\index{Boolean constant} value in a hexagonal slot
441442
instead of a predicate-based expression, hover the mouse over the block
442-
and click on the control that appears:
443+
and click on the control that appears:
443444

444445
![image91.png](assets/image91.png){.image-inline} <!-- style="width:1.375in;height:0.24306in" alt="Macintosh HD:Users:bh:Desktop:turbo-false.png" / --> ![image92.png](assets/image92.png){.image-inline} <!-- style="width:1.375in;height:0.24306in" alt="Macintosh HD:Users:bh:Desktop:turbo-true.png" / -->
445446

@@ -853,7 +854,7 @@ can provide additional inputs.
853854

854855
![image177.png](assets/image177.png) <!-- style="width:0.63in;height:0.19in" alt="Logo Description automatically generated with medium confidence" / -->
855856
![image178.png](assets/image178.png) <!-- style="width:0.63in;height:0.19in" alt="A picture containing text, monitor, screenshot Description automatically generated" / -->
856-
![image179.png](assets/image179.png) <!-- style="width:0.63in;height:0.19in" alt="Logo Description automatically generated" / -->
857+
![image179.png](assets/image179.png) <!-- style="width:0.63in;height:0.19in" alt="Logo Description automatically generated" / -->
857858

858859
Similarly, these\index{*less-than-or-equal@\texttt{≤} block} hidden predicates can be found by relabeling the relational predicates.
859860

@@ -956,7 +957,11 @@ for positive input, 0 for zero input, or -1 for negative input.
956957
The ![length of text block](../blocks/images/block_reportTextAttribute.png){.image-inline} name was changed to clarify it is different from ![length of text block](../blocks/images/block_reportListAttribute.png){.image-inline}
957958
:::
958959

959-
![image308.png](assets/image308.png) <!-- {width=1.05208in height=0.28125in} -->
960+
![image308.png](assets/image308.png)
961+
962+
`+` and `×` are *variadic*: they take two or more inputs. If
963+
you drop a list on the arrowheads, the block name
964+
changes to `sum` or `product`.
960965

961966
::: {.evenly-spaced-images layout-ncol=2}
962967
![image309.png](assets/image309.png)
@@ -1735,6 +1740,3 @@ documented separately at
17351740
<http://emu-online.de/ProgrammingWithSciSnap.pdf> and
17361741
<https://maketolearn.org/creating-art-animations-and-music/>
17371742
respectively.
1738-
1739-
1740-

0 commit comments

Comments
 (0)