Discuss Scratch

Maltion
Scratcher
70 posts

"If" allows string data

My browser / operating system: Windows NT 10.0, Chrome 91.0.4472.114, No Flash versions detected



By some reason, i put that on a “if” block (It is not boolean).

if (length of [ LOL] :: list) then

end


@Maltion (Maltion Studios)
The worst Scratcher of all time!
dhuls
Scratcher
1000+ posts

"If" allows string data

If you mean on the forums then that is not a bug.
1492864
Scratcher
500+ posts

"If" allows string data

Not a bug.

Scratch Wiki wrote:

The Item () of () block is a List block and a Reporter block. The block reports the value of the specified entry in a specified list. It is one of the only reporter blocks that can be inserted into a boolean input.
Source

Scratcheth f'rum us'r | 1 year on Scratcheth | 750+ posts| Inching to 1000 posts, 1 posteth at a timeth
Mine own most did view projecteth | Mine own most did love and fav'd projecteth | Latest projecteth |

Highlight h're and shift+down to readeth the rest.
The most did suggest suggestion:
Dark mode
Thingied
Scratcher
1000+ posts

"If" allows string data

Reason why this happens

Scratch Wiki wrote:

These two blocks have their output type set to a null value instead of String.
Maltion
Scratcher
70 posts

"If" allows string data

I only use dark mode, so it's a scratch bug


@Maltion (Maltion Studios)
The worst Scratcher of all time!
Thingied
Scratcher
1000+ posts

"If" allows string data

Maltion wrote:

I only use dark mode, so it's a scratch bug
Pretty sure it's not.

Scratch Wiki wrote:

This is not a hardcoded feature, but rather the result of a coding quirk
https://en.scratch-wiki.info/wiki/Hidden_Features

Last edited by Thingied (June 21, 2021 19:01:37)

Powered by DjangoBB