Discuss Scratch

Frenzyboyz33
Scratcher
100+ posts

Add an Arrow Function and Operator.

7salad3salad wrote:

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?
-> is an ARROW, and the linking system is in the image
7salad3salad
Scratcher
1000+ posts

Add an Arrow Function and Operator.

Frenzyboyz33 wrote:

7salad3salad wrote:

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?
-> is an ARROW, and the linking system is in the image
What is the meaning for the arrow? And what is the purpose for linking?
cookieclickerer33
Scratcher
1000+ posts

Add an Arrow Function and Operator.

Frenzyboyz33 wrote:

also, Scratch is partially JS
What does that have to do with anything? I kinda need to know what the block does!
7salad3salad
Scratcher
1000+ posts

Add an Arrow Function and Operator.

bump
Frenzyboyz33
Scratcher
100+ posts

Add an Arrow Function and Operator.

finished the other designs, here's them all.

->
=>
<-
<=

image:
https://piskel-imgstore-b.appspot.com/img/2f19fb99-7564-11ed-ade1-9f2075702468.gif
Frenzyboyz33
Scratcher
100+ posts

Add an Arrow Function and Operator.

it manipulates variable data, without changing the variable, and can be used multiple times.
The linking system is to avoid confusion (I said that earlier)
Creator-H
Scratcher
100+ posts

Add an Arrow Function and Operator.

Oh! I understand now. You can have a variable with multiple outputs?
Interesting…
Frenzyboyz33
Scratcher
100+ posts

Add an Arrow Function and Operator.

the arrow is to mark which arrow is being used
Frenzyboyz33
Scratcher
100+ posts

Add an Arrow Function and Operator.

Creator-H wrote:

Oh! I understand now. You can have a variable with multiple outputs?
Interesting…
Yeah, that's practically true
Frenzyboyz33
Scratcher
100+ posts

Add an Arrow Function and Operator.

I also think the arrow function & Operator is underrated due to it never being in block coding yet.
cookieclickerer33
Scratcher
1000+ posts

Add an Arrow Function and Operator.

Frenzyboyz33 wrote:

even BYOB doesn't have this! yet is SO useful.
That doesn’t help if we don’t know what it does!
Frenzyboyz33
Scratcher
100+ posts

Add an Arrow Function and Operator.

again, I have said it multiple times
Frenzyboyz33
Scratcher
100+ posts

Add an Arrow Function and Operator.

Frenzyboyz33 wrote:

Creator-H wrote:

Oh! I understand now. You can have a variable with multiple outputs?
Interesting…
Yeah, that's practically true

Frenzyboyz33 wrote:

7salad3salad wrote:

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?
-> is an ARROW, and the linking system is in the image
see?
Frenzyboyz33
Scratcher
100+ posts

Add an Arrow Function and Operator.

JavaScript has this, and Scratch 3 is built off JS

“Scratch 3.0 is a completely new JavaScript-based codebase made up of multiple components such as ”Scratch-GUI,“ now based on a library from Blockly, ”Scratch-VM,“ which interprets code, and ”Scratch-Render,“ the rendering engine. The Scratch Blocks are made using Blockly.” -Wikipedia
Frenzyboyz33
Scratcher
100+ posts

Add an Arrow Function and Operator.

so it's possibly simple to add in.
cookieclickerer33
Scratcher
1000+ posts

Add an Arrow Function and Operator.

Frenzyboyz33 wrote:

it manipulates variable data, without changing the variable, and can be used multiple times.
The linking system is to avoid confusion (I said that earlier)
The. What’s the point? Just use if blocks?
Or I don’t even know because this is confusing for me (someone who knows c+)
7salad3salad
Scratcher
1000+ posts

Add an Arrow Function and Operator.

i dont even understand what the little white arrows mean
why are there two
why is it pointing to the first input
why are the sides sometimes curvy and sometimesp ointy

Last edited by 7salad3salad (Dec. 6, 2022 14:07:15)

Frenzyboyz33
Scratcher
100+ posts

Add an Arrow Function and Operator.

it's to indicate between
->
=>
<-
and <=
Frenzyboyz33
Scratcher
100+ posts

Add an Arrow Function and Operator.

cookieclickerer33 wrote:

Frenzyboyz33 wrote:

it manipulates variable data, without changing the variable, and can be used multiple times.
The linking system is to avoid confusion (I said that earlier)
The. What’s the point? Just use if blocks?
Or I don’t even know because this is confusing for me (someone who knows c+)
it's quite literally just the -> statement

Powered by DjangoBB