Discuss Scratch

fdreerf
Scratcher
1000+ posts

add "i" to operators

What if I did this though?
change x by (i ::operators)
Would nothing happen or Scratch freak out that it's trying to move something by a non-integer number?

Last edited by fdreerf (April 9, 2020 02:35:51)


Hyped for MS-DOS 11.0
PkmnQ
Scratcher
1000+ posts

add "i" to operators

fdreerf wrote:

What if I did this though?
change x by (i ::operators)
Would nothing happen or Scratch freak out that it's trying to move something by a non-integer number?

A weird idea could be that it changes y by 1.

This is an account that exists.

Here, have a useful link:
The Official List of Rejected Suggestions by Za-Chary

Jonathan50
Scratcher
1000+ posts

add "i" to operators

fdreerf wrote:

What if I did this though?
change x by (i ::operators)
Would nothing happen or Scratch freak out that it's trying to move something by a non-integer number?
That's a domain error, not unlike
change x by (join [hello ] [world])
so as long as Scratch ignores domain errors nothing would happen.

Not yet a Knight of the Mu Calculus.
PkmnQ
Scratcher
1000+ posts

add "i" to operators

Jonathan50 wrote:

fdreerf wrote:

What if I did this though?
change x by (i ::operators)
Would nothing happen or Scratch freak out that it's trying to move something by a non-integer number?
That's a domain error, not unlike
change x by (join [hello ] [world])
so as long as Scratch ignores domain errors nothing would happen.
Oh yeah, forgot about strings.
I was thinking
“Oh no there's no domain error reaction, unlike the repeat block which uses positive and just ignores negative aaaaaaa”
but yeah strings exist

This is an account that exists.

Here, have a useful link:
The Official List of Rejected Suggestions by Za-Chary

chrdagos
Scratcher
500+ posts

add "i" to operators

bump
XretroperX
Scratcher
100+ posts

add "i" to operators

No support, I see no purpose.

Hey. This is a signature.
I'm semi-active ig

I don't know what to put here.
minor-edit
Scratcher
500+ posts

add "i" to operators

earlier topic Make square roots on negitave Numbers exist but closed

John Conway










☁️

• ω •

HSL and RGB levels


Whoops! Our server is Scratch'ing its head
We couldn't find the page you're looking for. Check to make sure you've typed the url correctly.
You can try searching for what you're looking for here:
Search
(╯°□°)╯︵ ┻━┻ 404 ┻━┻ ╰(°□°╰)



these blocks have been hidden for your safety


scroll around the scripting area while holding a block of code.
hi
necroposting is allowed on the Suggestions forum for comments relevant to the discussion
chrdagos
Scratcher
500+ posts

add "i" to operators

bump
BUCKCLUCKFROMROBLOX
Scratcher
32 posts

add "i" to operators

its one letter long yet very complex.
Paddle2See
Scratch Team
1000+ posts

add "i" to operators

minor-edit wrote:

earlier topic Make square roots on negitave Numbers exist but closed
Hey, thanks for finding that link! That topic is closed because this idea is rejected as being out of scope for basic Scratch. I can maybe see it as an extension for advanced users.

Scratch Team Member, kayak and pickleball enthusiast, cat caregiver.

This is my forum signature! On a forum post, it is okay for Scratchers to advertise in their forum signature. The signature is the stuff that shows up below the horizontal line on the post. It will show up on every post I make.
(credit to Za-Chary)



;

Powered by DjangoBB