[] vs ()

Ask for help, how to use AHK_H, etc.
User avatar
Posts: 3
Joined: 12 May 2018, 01:48

[] vs ()

20 Aug 2019, 07:50

In the examples in the documentation and on this forum I encounter 2 different styles of syntax.
For example

Code: Select all



What is the difference?
Which one is correct?
When should one be used and when the other?
Posts: 2137
Joined: 29 Sep 2013, 18:35

Re: [] vs ()

20 Aug 2019, 15:13

Both are correct, you can use either but [] should be very little faster.

Return to “Ask For Help”

Who is online

Users browsing this forum: No registered users and 2 guests