Mathematics 

Mathematical expressions are used for calculations and boolean if checks. TinTin++ supports the full set of C operations, and some additional ones. Following is the priority list of the operators for numerical operations. 



Operator priority can be ignored by using paranthesis, for example (1 + 1) * 2 equals 4, while 1 + 1 * 2 equals 3. 

Some of these operators can also be used on strings. Strings must be encased in double quotes. 



The > >= < <= operators perform basic string comparisons. The == != operators perform regular expressions, with the argument on the left being the string, and the argument on the right being the regex. For example "bla" == "%*a" would evaluate as 1 (true). 

See also: Colors, Escape Codes and Regular Expressions. 
