Operator Overloading

Discuss the future of the AutoHotkey language
amozu16
Posts: 1
Joined: 28 Apr 2018, 15:47
GitHub: sirius16

Operator Overloading

Post by amozu16 » 28 Apr 2018, 17:19

We should be able to overload/override operators like in C++. Or, if not, have an option to make the the logical operators (|| and &&) act like Javascript's
User avatar
kczx3
Posts: 635
Joined: 06 Oct 2015, 21:39

Re: Operator Overloading

Post by kczx3 » 28 Apr 2018, 20:29

I am pretty sure that the || and && operators in v2 dDO operate like in JavaScript. They did not in v1.1
User avatar
nnnik
Posts: 3330
Joined: 30 Sep 2013, 01:01
Location: Germany

Re: Operator Overloading

Post by nnnik » 29 Apr 2018, 00:30

Operator overloading is pretty cool however I thik that won't bve happening in v2 as of yet.
We might have a chance for v3.
Recommends AHK Studio
Post Reply

Return to “AutoHotkey v2 Development”