The strange difference between length of text and length of list blocks

I noticed that, when placing a list in a length of text block, it returns a list containing each value's length. For example, if I have a list of text values that all have a length of 12, when I place this list into the length of text block it returns what I stated above.

But when I get the length of the list (using the block you're actually supposed to use)
It reports 46, the actual list's length.

Why does this happen? What's the difference in how these two blocks affect their inputs?

The reason why the ([length V] of text []) block behaves differently than the ([length V] of @list) block, it's because the former is used for text, and the latter is used for lists. The reason why the length of text block reports the length of each item in the list, it's because of a pretty cool feature called hyperblocks. Hyperblocks allow you to do stuff like this
untitled script pic

However, hyperblocks also work with other blocks, like this
untitled script pic - 2024-10-28T212204.644

This is the main reason why you can also grab the length of each item in a list, as well as the other options in the block.

untitled script pic - 2024-10-28T212320.476
untitled script pic - 2024-10-28T212325.661
untitled script pic - 2024-10-28T212330.747

Plus, it wouldn't make sense to get the length of a list from a length of text block.

Excellent explanation, thanks, @ego-lay_atman-bay !

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.