if(...).... in ohne line
Posted: 16 Jul 2017, 10:43
I was surprised when I accidentally discovered this very strange behavior. On an unware statement nevertheless commandos. Later I realized that it was probably because it was all in one line. Other programming languages are no problem. An error message has it also nciht. I will now have to examine my other scripts.
the following lines works like a true condition:
if(false)lll...
if(0)lll...
follwong works like false (like expected):
if(false)
lll...
if(0)
lll...
with regex you could find it with:
^[ ]*if[ ]*\([^()]+\)[^{\s]+
used
AutoHotkey_1.1.26.01_setup.exe
the following lines works like a true condition:
if(false)lll...
if(0)lll...
follwong works like false (like expected):
if(false)
lll...
if(0)
lll...
with regex you could find it with:
^[ ]*if[ ]*\([^()]+\)[^{\s]+
used
AutoHotkey_1.1.26.01_setup.exe