Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » possible way to get !=
- KoolKid228
-
33 posts
possible way to get !=
For context, in most programming languages, this symbol: !=
means “not equal to”
is there a way to get this? because using a not operator doesn't work right for what i need it for.
means “not equal to”
is there a way to get this? because using a not operator doesn't work right for what i need it for.
- BigNate469
-
1000+ posts
possible way to get !=
Can't you just do
<not <[] = []>>Which does the same exact thing?
- KoolKid228
-
33 posts
possible way to get !=
as I said, doing that is not helping in my case.
- PaxtonPenguin
-
100+ posts
possible way to get !=
So then what is your use case? as I said, doing that is not helping in my case.
- BigNate469
-
1000+ posts
possible way to get !=
And furthermore, why doesSo then what is your use case? as I said, doing that is not helping in my case.
<not <[] = []>>not work?
- KoolKid228
-
33 posts
possible way to get !=
im trying to make it can detect if the button you press isnt the one it's checking for, and using that just makes the script constantly fire off
- BigNate469
-
1000+ posts
possible way to get !=
Then why not just use im trying to make it can detect if the button you press isnt the one it's checking for, and using that just makes the script constantly fire off
if <[button] = [the one it's looking for]> thenAlso, what's your script, exactly? Not equal to should work in this situation, so it's possible that the way you're doing this is inherently flawed and needs to be changed.
else
your code here ::grey
end
- Discussion Forums
- » Advanced Topics
-
» possible way to get !=