@Rook Zimbabwe: Why is it insulting that I said that you obviously don't understand how IF works? Just to make that clear, the wrong explaination:
"IF just checks if the equation that comes after is right, and then it executes".
The correct explaination:
"Every equation is a boolean value (TRUE/FALSE), and IF executes the comming section if the boolean (which might be in form of a math eqation) that comes after is True. Then again, NOT is a boolean operand (explained in manual as NOT true), and not a way to write eqations, meaning NOT is just a word that inverts a boolean. Therefore NOT obviously comes before the eqation which is the boolean (switches it)."
I don't mean to be insulting in any way, but the way your original question was formulated, it told me that you obviously don't know what I explain a few posts above (the stuff about equation = boolean).
@jhocking: Yes, I agree, I would also write it <> (is test$ <> "hehe" allowed in BB?, atleast it is in most other languages I know).
"IF just checks if the equation that comes after is right, and then it executes".
The correct explaination:
"Every equation is a boolean value (TRUE/FALSE), and IF executes the comming section if the boolean (which might be in form of a math eqation) that comes after is True. Then again, NOT is a boolean operand (explained in manual as NOT true), and not a way to write eqations, meaning NOT is just a word that inverts a boolean. Therefore NOT obviously comes before the eqation which is the boolean (switches it)."
I don't mean to be insulting in any way, but the way your original question was formulated, it told me that you obviously don't know what I explain a few posts above (the stuff about equation = boolean).
@jhocking: Yes, I agree, I would also write it <> (is test$ <> "hehe" allowed in BB?, atleast it is in most other languages I know).