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)


PkmnQ
Scratcher
500+ 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 signature was not eaten by a kumquat. This signature IS a kumquat.

Oh, also, here's an actually working mobile detector. You're welcome!
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.
PkmnQ
Scratcher
500+ 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 signature was not eaten by a kumquat. This signature IS a kumquat.

Oh, also, here's an actually working mobile detector. You're welcome!
chrdagos
Scratcher
500+ posts

add "i" to operators

XretroperX
Scratcher
100+ posts

add "i" to operators

No support, I see no purpose.

Hey! This signature is blue for a reason. Want to—

The rest of this signature was eaten by an evil kumquat. Said evil kumquat will eat your signature too, if you fail to go here and press the blue button in the right-hand corner.
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

BUCKCLUCKFROMROBLOX
Scratcher
8 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 enthusiast, and servant to multiple cats.

;

Powered by DjangoBB

Standard | Mobile