What does one of the "tool" blocks do?

By "tool" blocks, I mean the blocks you receive from pressing "import tools" in the file dropdown menu.

I was wondering what the image block does. What it seems to do is report the value of the parameter, but wouldn't that be the same as using the parameter itself? There seems to be no help image about it.

My guess is that you can use it to drop it in dropdown inputs, such as this one:

untitled%20script%20pic

It can also be used to quickly create the identity function, or a constant function that always reports the same value.

use%20for%20(%5B%5D)

... and you can use it to put a non-numeric string in a numeric input slot. Useful for NaN or ∞, or especially for exact rationals and complex numbers if you load the bignum library.

P.S. Thanks for reminding me to add a help screen for it!

1 Like