[ERROR] AutoHotkey_2.0-a081-cad307c msgBox("" --a) Topic is solved

Get help for the alpha version of AutoHotkey v2 here. Please state the v2 version you are working with in the title when making a new topic.
_3D_
Posts: 277
Joined: 29 Jan 2014, 14:40

[ERROR] AutoHotkey_2.0-a081-cad307c msgBox("" --a)

29 Aug 2017, 11:12

Code: Select all

msgBox("" --a) ;Error: Unexpected operator folowing literal string.

Code: Select all

msgBox("" (--a)) ;OK.
AHKv2.0 alpha forever.
User avatar
Flipeador
Posts: 1205
Joined: 15 Nov 2014, 21:31
GitHub: Flipeador
Location: Argentina
Contact:

Re: [ERROR] AutoHotkey_2.0-a081-cad307c msgBox("" --a)  Topic is solved

29 Aug 2017, 14:38

v2-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.
https://autohotkey.com/v2/v2-changes.htm

Return to “AutoHotkey v2 Help”

Who is online

Users browsing this forum: No registered users and 2 guests