operator precedence and associativity

Discuss the future of the AutoHotkey language
User avatar
jeeswg
Posts: 6824
Joined: 19 Dec 2016, 01:58
Location: UK

operator precedence and associativity

24 Aug 2019, 10:58

Are there likely to be any changes to operator precedence or associativity?
Basically, just so that I can write scripts in advance with the correct parentheses.
And also to add relevant comments/warnings in any threads/tutorials.

E.g. will the precedence of 'NOT' be changed to match '!'. (Although I don't use 'NOT'.)
E.g. I think I recall something being said about - or **, here or on GitHub. But I couldn't find it.
[EDIT: #369. Thanks Helgef.]

Links:
Variables and Expressions - Definition & Usage | AutoHotkey
https://www.autohotkey.com/docs/Variables.htm#Operators
Variables and Expressions - Definition & Usage | AutoHotkey v2
https://lexikos.github.io/v2/docs/Variables.htm#Operators
Order of operations - Wikipedia
https://en.wikipedia.org/wiki/Order_of_operations
Operator associativity - Wikipedia
https://en.wikipedia.org/wiki/Operator_associativity
Operators in C and C++ - Wikipedia
https://en.wikipedia.org/wiki/Operators_in_C_and_C%2B%2B#Operator_precedence
Last edited by jeeswg on 01 Sep 2019, 19:07, edited 1 time in total.
homepage | tutorials | wish list | fun threads | donate
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
Helgef
Posts: 3987
Joined: 17 Jul 2016, 01:02
Contact:

Re: operator precedence and associativity

26 Aug 2019, 03:22

:arrow: #369 [edit: cheers jeeswg :wave: ]

Return to “AutoHotkey v2 Development”

Who is online

Users browsing this forum: No registered users and 7 guests