A collection of handy code snippets in the languages that I use on a daily basis.
var isTrue:Boolean = true;isTrue = !isTrue;trace(isTrue); // prints "false"isTrue = !isTrue;trace(isTrue); // prints "true"
This is good to know :)
i actually heard a little noise when reading the code.
This is awesome. Much easier than the whole "if true then make false, else blah blah blah". I don't know why this isn't common knowledge.
thank you very much man ,