Log In  


I saw that putting boolean=!boolean is supposed to toggle a boolean variable, but it's not working for something like object.boolean=!object.boolean. How can I toggle a boolean?



are you getting an error?


Yeah.

Syntax error
char.sf=!char.sf
unexpected symbol near '!'


Try using “not”
b = not b
I don’t believe that “!” is implemented


That worked. Thanks for your help.


The ! operator works when used with != in if statements, but not otherwise.

Or should I say... 😎 ... !otherwise.

I'll show myself out.


!LOL

lmao just kidding, I got a good laugh out of that pun.



[Please log in to post a comment]