Platform Builder Forums

Main => Suggestions => Topic started by: Antikore on December 20, 2020, 11:45:37 AM

Title: Allow to use ! on values
Post by: Antikore on December 20, 2020, 11:45:37 AM
Actually when we want to switch a boolean variable, we do like this
Code: [Select]
if avariable = true
avariable = false
else
avariable = true
Why we just don't use this?
Code: [Select]
avariable = !avariable