Code: Select all
a = "text"
if a = false
something
endif
However, sometimes it would be handy to be able to compare these things with the "equals" idea.
For example, I am right now having a variable that would be handy if i could set it to FALSE, when there is nothing there, and when there is something there, it would store the layers name.
but there come the problem of comparing. cannot check if that variable is FALSE, if there is layers name inside it.
I can easily get round this by using string name "false" instead of just FALSE, but due to syntax highlighting, it would be easier to read the code if it would read that blue False, than plain, same looking as everything else text "false".
So, first of all, is there something like result = compareany(variable1, variable2) existing, and if not;
Then add it to Hollywood wishlist.