Discuss Scratch

ioton
Scratcher
500+ posts

HIDDEN uses for blocks?

I've thought of an answer, but I'll keep this open (unless someone tells me it should be closed)
Demonstration

Last edited by ioton (Aug. 7, 2020 17:04:44)

Xoffhia
Scratcher
500+ posts

HIDDEN uses for blocks?

ioton wrote:

Demonstration
Is this intentional?
It's cool though.
answers?
That's cool!

And probably the ST wanted us to discover something.

Last edited by Xoffhia (Aug. 7, 2020 14:14:12)

ioton
Scratcher
500+ posts

HIDDEN uses for blocks?

(deleted)

Last edited by ioton (Aug. 7, 2020 14:16:45)

Xoffhia
Scratcher
500+ posts

HIDDEN uses for blocks?

ioton wrote:

Xoffhia wrote:

ioton wrote:

Demonstration
Is this intentional?
It's cool though.
answers?
That's cool!

And probably the ST wanted us to discover something.
No, I didn't “hack” those blocks, it works in any project. Make your own project and try it.

I knew what you meant.

EDIT: You said “HIDDEN” and asked the question “Is this intentional?”

Last edited by Xoffhia (Aug. 7, 2020 14:17:13)

Maximouse
Scratcher
1000+ posts

HIDDEN uses for blocks?

You mean putting those blocks in boolean slots? That's a bug.
4096bits
Scratcher
1000+ posts

HIDDEN uses for blocks?

This is probably not intentional, because the “if” block is supposed to accept booleans. However, putting input blocks in booleans is.
cs2925723
Scratcher
100+ posts

HIDDEN uses for blocks?

I have something about it here.
RedGuy7
Scratcher
1000+ posts

HIDDEN uses for blocks?

ioton wrote:

Demonstration
Is this intentional?
It's cool though.
answers?

Xoffhia wrote:

ioton wrote:

Demonstration
Is this intentional?
It's cool though.
answers?
That's cool!

And probably the ST wanted us to discover something.

Maximouse wrote:

You mean putting those blocks in boolean slots? That's a bug.

4096bits wrote:

This is probably not intentional, because the “if” block is supposed to accept booleans. However, putting input blocks in booleans is.
I don't think it's a bug. They probably won't fix it because that is actually how most coding languages work! The only one they might fix is number 5 in this project.
Maximouse
Scratcher
1000+ posts

HIDDEN uses for blocks?

RedGuy7 wrote:

I don't think it's a bug. They probably won't fix it because that is actually how most coding languages work! The only one they might fix is number 5 in this project.
It is a bug. Either all reporters or none of them should go in boolean slots.
ioton
Scratcher
500+ posts

HIDDEN uses for blocks?

Maximouse wrote:

RedGuy7 wrote:

I don't think it's a bug. They probably won't fix it because that is actually how most coding languages work! The only one they might fix is number 5 in this project.
It is a bug. Either all reporters or none of them should go in boolean slots.
I think it's intentional. The item # of () in list block acts like a () exists in list? block. How is that not intentional?
I just came up with an answer. But I still want it to be kept open……

Last edited by ioton (Aug. 7, 2020 17:01:53)

Maximouse
Scratcher
1000+ posts

HIDDEN uses for blocks?

ioton wrote:

I think it's intentional. The item # of () in list block acts like a () exists in list? block. How is that not intentional?
I just came up with an answer. But I still want it to be kept open……
No, I don't think so. It returns false even if the item exists but equals 0, false or is empty.

Last edited by Maximouse (Aug. 7, 2020 17:16:17)

ioton
Scratcher
500+ posts

HIDDEN uses for blocks?

Maximouse wrote:

ioton wrote:

I think it's intentional. The item # of () in list block acts like a () exists in list? block. How is that not intentional?
I just came up with an answer. But I still want it to be kept open……
No, I don't think so. It returns false even if the item exists but equals 0, false or is empty.
The second one is probably intentional. The first one might not be.

Za-Chary* wrote:

I imagine it is intentional, but I don't know.
SOURCE
RedGuy7
Scratcher
1000+ posts

HIDDEN uses for blocks?

cs2925723 wrote:

I have something about it here.
Ok I'm wrong paddle said it's a glitch on the above thread
cs2925723
Scratcher
100+ posts

HIDDEN uses for blocks?

RedGuy7 wrote:

cs2925723 wrote:

I have something about it here.
Ok I'm wrong paddle said it's a glitch on the above thread
If you don't want to scroll, it's here. I do agree though, to both

Paddle2See wrote:

However, I find it fascinating that an actual variable reporter block (with the same values as a list element) can not be placed in the If block boolean test location.
and

Maximouse wrote:

RedGuy7 wrote:

I don't think it's a bug. They probably won't fix it because that is actually how most coding languages work! The only one they might fix is number 5 in this project.
It is a bug. Either all reporters or none of them should go in boolean slots.

Powered by DjangoBB