Using "contains" inside parenthesis?
Posted: 17 Jul 2017, 01:33
I generally format my code:
But this doesn't work when using contains. For example:
How do I get this to function while still using brackets, which are essential for and/or operations?
Code: Select all
If (condition1) || (condition2 && condition3)
{
do stuff
}
Code: Select all
If (condition1) || (condition2 && Var contains Var2, Var3)
{
don't bother to do stuff because you'll get an illegal character error, apparently AHK thinks the second parenthesis is part of the variable
}