[ERROR] AutoHotkey_2.0-a081-cad307c msgBox("" --a)
Posted: 29 Aug 2017, 11:12
Code: Select all
msgBox("" --a) ;Error: Unexpected operator folowing literal string.
Code: Select all
msgBox("" (--a)) ;OK.
Let's help each other out
https://www.autohotkey.com/boards/
https://www.autohotkey.com/boards/viewtopic.php?f=82&t=36443
Code: Select all
msgBox("" --a) ;Error: Unexpected operator folowing literal string.
Code: Select all
msgBox("" (--a)) ;OK.
https://autohotkey.com/v2/v2-changes.htmv2-changes wrote:Where a literal string is followed by an ambiguous unary/binary operator, an error is reported at load-time. For instance, "x" &y is probably supposed to auto-concatenate "x" with the address of y, but technically it is an invalid bitwise-and operation.