!x() ? y : z treated as an error
Posted: 16 Jul 2017, 15:17
[Moderator's note: Topic split from DirExist() change?]
Another question. Feel free to split it from this thread if you deem it necessary.
In v2 a078 you can do (and in v1.1 with the command wrapped as function)
and it works.
But in v2 a080 and a081 that same example is treated as a syntax error because of the "!" . You would have to wrap it in parenthesis (!ProcessExist("firefox.exe"))
Is it possible to re-allow the ! operator to be in the beginning of the line?
Thank youuu.lexikos wrote:Fixed in v2.0-a081.
Another question. Feel free to split it from this thread if you deem it necessary.
In v2 a078 you can do (and in v1.1 with the command wrapped as function)
Code: Select all
!ProcessExist("firefox.exe") ? x:=0 : x:=1
msgbox(x)
But in v2 a080 and a081 that same example is treated as a syntax error because of the "!" . You would have to wrap it in parenthesis (!ProcessExist("firefox.exe"))
Is it possible to re-allow the ! operator to be in the beginning of the line?