Discuss Scratch

Frenzyboyz33
Scratcher
100+ posts

Add an Arrow Function and Operator.

It would look something like this, https://piskel-imgstore-b.appspot.com/img/44a98d47-74c7-11ed-9af5-6f0cf97aec46.gif It can also manipulate data records, and can be used as a reusable value in a script. It's also pretty handy, and could have some quirky uses, along with adding a possible stack block to the operators tab, and a very unique block! It also has a linking system like comments, which points to the parent arrow.

Last edited by Frenzyboyz33 (Dec. 5, 2022 18:22:08)

randomguy3513
Scratcher
1000+ posts

Add an Arrow Function and Operator.

The link doesn't work; try using cubeupload instead of image links or sources.
Frenzyboyz33
Scratcher
100+ posts

Add an Arrow Function and Operator.

I know, and I can't access cubeupload
cookieclickerer33
Scratcher
1000+ posts

Add an Arrow Function and Operator.

Frenzyboyz33 wrote:

I know, and I can't access cubeupload
Then we can’t view the image
Use the forms scratchblocks plugin or use a different image reuploader
Frenzyboyz33
Scratcher
100+ posts

Add an Arrow Function and Operator.

https://piskel-imgstore-b.appspot.com/img/44a98d47-74c7-11ed-9af5-6f0cf97aec46.gif

here's a link I guess

Last edited by Frenzyboyz33 (Dec. 5, 2022 18:06:12)

cookieclickerer33
Scratcher
1000+ posts

Add an Arrow Function and Operator.

Frenzyboyz33 wrote:

https://piskel-imgstore-b.appspot.com/img/44a98d47-74c7-11ed-9af5-6f0cf97aec46.gif

here's a link I guess
What would it do?
Also edit the fist post to have the new link
Frenzyboyz33
Scratcher
100+ posts

Add an Arrow Function and Operator.

when green flag clicked
Arrow (... :: functions) <...> ➜ <arrowValue :: operators> :: operators
say<arrowValue :: operators>

simplified version
Frenzyboyz33
Scratcher
100+ posts

Add an Arrow Function and Operator.

there also isn't a workaround, and this would be very useful
cookieclickerer33
Scratcher
1000+ posts

Add an Arrow Function and Operator.

Frenzyboyz33 wrote:

there also isn't a workaround, and this would be very useful
What does it do still, I don’t Understand
Frenzyboyz33
Scratcher
100+ posts

Add an Arrow Function and Operator.

cookieclickerer33 wrote:

Frenzyboyz33 wrote:

there also isn't a workaround, and this would be very useful
What does it do still, I don’t Understand
look here then.
https://www.w3schools.com/js/js_arrow_function.asp
7salad3salad
Scratcher
1000+ posts

Add an Arrow Function and Operator.

So like what does it do? Im confused. Anyways, here's the image they were trying to upload:
Frenzyboyz33
Scratcher
100+ posts

Add an Arrow Function and Operator.

even BYOB doesn't have this! yet is SO useful.
7salad3salad
Scratcher
1000+ posts

Add an Arrow Function and Operator.

Frenzyboyz33 wrote:

cookieclickerer33 wrote:

Frenzyboyz33 wrote:

there also isn't a workaround, and this would be very useful
What does it do still, I don’t Understand
look here then.
https://www.w3schools.com/js/js_arrow_function.asp
this doesn't make any sense unless you already know JavaScript, which most Scratchers do not.
Frenzyboyz33
Scratcher
100+ posts

Add an Arrow Function and Operator.

nevermind

Last edited by Frenzyboyz33 (Dec. 5, 2022 18:32:30)

7salad3salad
Scratcher
1000+ posts

Add an Arrow Function and Operator.

Frenzyboyz33 wrote:

7salad3salad wrote:

So like what does it do? Im confused. Anyways, here's the image they were trying to upload:
I JUST posted the link to an article that ANSWERS THAT SPECIFIC QUESTION
I was still writing my post when you posted that
and i also made a follow up post quoting your article that doesn't make sense unless you already know JavaScript!!!
Frenzyboyz33
Scratcher
100+ posts

Add an Arrow Function and Operator.

I also mentioned it on the FIRST post

Frenzyboyz33 wrote:

It would look something like this, https://piskel-imgstore-b.appspot.com/img/44a98d47-74c7-11ed-9af5-6f0cf97aec46.gif It can also manipulate data records, and can be used as a reusable value in a script. It's also pretty handy, and could have some quirky uses, along with adding a possible stack block to the operators tab, and a very unique block! It also has a linking system like comments, which points to the parent arrow.
here

Last edited by Frenzyboyz33 (Dec. 5, 2022 18:34:11)

Frenzyboyz33
Scratcher
100+ posts

Add an Arrow Function and Operator.

it also has a sister block, which is =>,
but -> is cooler

Last edited by Frenzyboyz33 (Dec. 5, 2022 18:36:14)

Frenzyboyz33
Scratcher
100+ posts

Add an Arrow Function and Operator.

maybe they could be merged into one block?
7salad3salad
Scratcher
1000+ posts

Add an Arrow Function and Operator.

Frenzyboyz33 wrote:

I also mentioned it on the FIRST post

Frenzyboyz33 wrote:

It would look something like this, https://piskel-imgstore-b.appspot.com/img/44a98d47-74c7-11ed-9af5-6f0cf97aec46.gif It can also manipulate data records, and can be used as a reusable value in a script. It's also pretty handy, and could have some quirky uses, along with adding a possible stack block to the operators tab, and a very unique block! It also has a linking system like comments, which points to the parent arrow.
here
You need to elaborate further. What do you mean by manipulating data records and linking systems?

I just want to know what the BLOCK means. I dont understand "Arrow (variable) -> (a)"
And whats the line for?
Frenzyboyz33
Scratcher
100+ posts

Add an Arrow Function and Operator.

also, Scratch is partially JS

Powered by DjangoBB