Discuss Scratch
- Discussion Forums
- » Suggestions
- » The "Advanced Scratch" Extension
- zhuoranma2006
-
Scratcher
100+ posts
The "Advanced Scratch" Extension
The rejected Suggestions page said they rejected some blocks.
But what about putting them in an extension?
But what about putting them in an extension?
() & () :: operators reporter // binary
() | () :: operators reporter
() xor () :: operators reporter
() \>\> () :: operators reporter
() \<\< () :: operators reporter
Convert () to base ( 16 v) :: operators reporter
( this operand must be positive :: custom-arg ) [ to the power of v] ( ) :: operators reporter
- mica43683
-
Scratcher
500+ posts
The "Advanced Scratch" Extension
<...> xor <...>::operators booleanCan be rectreated with
<not <<...> = <...>>>
- cheesyfriedeggs
-
Scratcher
1000+ posts
The "Advanced Scratch" Extension
Last time I heard, these weren't rejected.
- CatsUnited
-
Scratcher
1000+ posts
The "Advanced Scratch" Extension
Last time I heard, these weren't rejected.They aren't a part of the rejected suggestions sticky, but I do believe that OP thought that these things were rejected due to a large amount of No Support that the 64 bit integers suggestion received. They even recently posted on that topic stating that they wanted these things as parts of an extension shortly before making this topic:
No support. Scratch is supposed to be simple, that would be confusing to younger people.This is to be an extension.
- Za-Chary
-
Scratcher
1000+ posts
The "Advanced Scratch" Extension
Could you define further what the
block does (assuming it's a boolean)?
([] >> [] :: operators)
block does (assuming it's a boolean)?
- 45afc4td
-
Scratcher
100+ posts
The "Advanced Scratch" Extension
The rejected Suggestions page said they rejected some blocks.No support for the first five, as those would be too confusing when performed on doubles. I withdraw the no support if the blocks don't accept doubles, but are rather used on one or more fixed point formats, such as the unsigned 64-bit integer *uint64_t* (Scratch Discuss doesn't allow the
But what about putting them in an extension?() & () :: operators reporter // binary
() | () :: operators reporter
() xor () :: operators reporter
() \>\> () :: operators reporter
() \<\< () :: operators reporter
Convert () to base ( 16 v) :: operators reporter
( this operand must be positive :: custom-arg ) [ to the power of v] ( ) :: operators reporter
"
'
Last edited by 45afc4td (Dec. 17, 2019 16:14:38)
- weegaweek
-
Scratcher
100+ posts
The "Advanced Scratch" Extension
Could you define further what the([] >> [] :: operators)
block does (assuming it's a boolean)?
i think its a bitwise shift.
([x] >> [y] :: operators)means that each bit in the number x gets moved y bits right
Last edited by weegaweek (Dec. 17, 2019 17:08:23)
- weegaweek
-
Scratcher
100+ posts
The "Advanced Scratch" Extension
heres a simple workaround for the last one.
x to the power of y =
x to the power of y =
([10 ^ v] of ((y) * ([log v] of (x))))
- 45afc4td
-
Scratcher
100+ posts
The "Advanced Scratch" Extension
But how would a bitshift in floating point make sense? Wouldn't shifting each bit in the floating point representation corrupt the number?Could you define further what the([] >> [] :: operators)
block does (assuming it's a boolean)?
i think its a bitwise shift.([x] >> [y] :: operators)means that each bit in the number x gets moved y bits right
- Farenhite
-
Scratcher
37 posts
The "Advanced Scratch" Extension
heres a simple workaround for the last one.
x to the power of y =([10 ^ v] of ((y) * ([log v] of (x))))
Doesn't work for negatives unless an if-else statement is used.
- weegaweek
-
Scratcher
100+ posts
The "Advanced Scratch" Extension
heres a simple workaround for the last one.
x to the power of y =([10 ^ v] of ((y) * ([log v] of (x))))
Doesn't work for negatives unless an if-else statement is used.
( this operand must be positive :: custom-arg ) [ to the power of v] ( ) :: operators reporter
- gosoccerboy5
-
Scratcher
1000+ posts
The "Advanced Scratch" Extension
I had a suggestion like this.. not sure if mine is a duplicate or if they're different 
Can anyone tell me if they are duplicates?

Can anyone tell me if they are duplicates?
- imabanana22
-
Scratcher
500+ posts
The "Advanced Scratch" Extension
Support. Now i can use Snap! blocks in the offical editor
- mitdk
-
Scratcher
1000+ posts
The "Advanced Scratch" Extension
I actually support as i have seen a lot of posts get the reply of “That might be too complicated for scratch”. This would be a great way of implementing advanced features into scratch!
- Greg8128
-
Scratcher
500+ posts
The "Advanced Scratch" Extension
It does not make sense to include bitwise operators in Scratch.
Scratch could do what Javascript does and convert the double to an integer before doing bitwise operators. Likewise, strings are cast to 0.
However, it is worth noting that bitwise operators are typically used for low-level programming, which isn't done much in Scratch.
The rejected Suggestions page said they rejected some blocks.No support for the first five, as those would be too confusing when performed on doubles. I withdraw the no support if the blocks don't accept doubles, but are rather used on one or more fixed point formats, such as the unsigned 64-bit integer *uint64_t* (Scratch Discuss doesn't allow the
But what about putting them in an extension?() & () :: operators reporter // binary
() | () :: operators reporter
() xor () :: operators reporter
() \>\> () :: operators reporter
() \<\< () :: operators reporter
Convert () to base ( 16 v) :: operators reporter
( this operand must be positive :: custom-arg ) [ to the power of v] ( ) :: operators reportercharacter and the"character for some reason). The base conversion is an interesting idea, as Scratch already supports hexadecimal numbers as of version 2.0 and 3.0. The exponent is already a suggestion.'
Scratch could do what Javascript does and convert the double to an integer before doing bitwise operators. Likewise, strings are cast to 0.
However, it is worth noting that bitwise operators are typically used for low-level programming, which isn't done much in Scratch.
- gosoccerboy5
-
Scratcher
1000+ posts
The "Advanced Scratch" Extension
My suggestion is a bit more generic but maybe I'll close it for the sake of this one..
- dominic305
-
Scratcher
500+ posts
The "Advanced Scratch" Extension
Support because I like Scratch but feel like I'm missing out sometimes
- 2468mariotime2
-
Scratcher
80 posts
The "Advanced Scratch" Extension
The rejected Suggestions page said they rejected some blocks.The first two are too confusing.
But what about putting them in an extension?() & () :: operators reporter // binary
() | () :: operators reporter
() xor () :: operators reporter
() \>\> () :: operators reporter
() \<\< () :: operators reporter
Convert () to base ( 16 v) :: operators reporter
( this operand must be positive :: custom-arg ) [ to the power of v] ( ) :: operators reporter
The third has a ridiculously easy workaround
The fourth and fifth are pointless and vague (<< means a lot less than and >> means a lot greater than)
The sixth could be OK, but rarely used
The last is OK but should be written as (x)^(y) where x and y are any numbers
- Discussion Forums
- » Suggestions
-
» The "Advanced Scratch" Extension