Discuss Scratch
- Discussion Forums
- » Questions about Scratch
- » HIDDEN uses for blocks?
- 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
Demonstration
Last edited by ioton (Aug. 7, 2020 17:04:44)
- Xoffhia
-
Scratcher
500+ posts
HIDDEN uses for blocks?
DemonstrationThat's cool!
Is this intentional?
It's cool though.
answers?
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?
No, I didn't “hack” those blocks, it works in any project. Make your own project and try it.DemonstrationThat's cool!
Is this intentional?
It's cool though.
answers?
And probably the ST wanted us to discover something.
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.
- RedGuy7
-
Scratcher
1000+ posts
HIDDEN uses for blocks?
Demonstration
Is this intentional?
It's cool though.
answers?
DemonstrationThat's cool!
Is this intentional?
It's cool though.
answers?
And probably the ST wanted us to discover something.
You mean putting those blocks in boolean slots? That's a bug.
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?
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?
I think it's intentional. The item # of () in list block acts like a () exists in list? block. How is that not intentional?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 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?
I think it's intentional. The item # of () in list block acts like a () exists in list? block. How is that not intentional?No, I don't think so. It returns false even if the item exists but equals 0, false or is empty.
I just came up with an answer. But I still want it to be kept open……
Last edited by Maximouse (Aug. 7, 2020 17:16:17)
- ioton
-
Scratcher
500+ posts
HIDDEN uses for blocks?
The second one is probably intentional. The first one might not be.I think it's intentional. The item # of () in list block acts like a () exists in list? block. How is that not intentional?No, I don't think so. It returns false even if the item exists but equals 0, false or is empty.
I just came up with an answer. But I still want it to be kept open……
I imagine it is intentional, but I don't know.SOURCE
- cs2925723
-
Scratcher
100+ posts
HIDDEN uses for blocks?
If you don't want to scroll, it's here. I do agree though, to bothI have something about it here.Ok I'm wrong paddle said it's a glitch on the above thread
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
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.
- Discussion Forums
- » Questions about Scratch
-
» HIDDEN uses for blocks?