Opened on Jun 10, 2014 at 12:17:33 AM
Closed on Jun 10, 2014 at 1:45:41 PM
Last modified on Jun 11, 2014 at 8:38:08 AM
#2752 closed Feature Request (Rejected)
AutoIt Help omits the precedence of the ternary operator
| Reported by: | lcofresi | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | Severity: | None | |
| Keywords: | Cc: |
Description
The page "Language Reference - Operators" in the AutoIt Help fails to specify the precedence of the ternary operator. It is omitted from the operator precedence list. This omission is causing confusion within the community (as well as unnecessary tickets).
Attachments (0)
Change History (6)
comment:1 by , on Jun 10, 2014 at 1:00:01 AM
| Version: | 3.3.12.0 |
|---|
comment:2 by , on Jun 10, 2014 at 1:59:30 AM
It's not really an operator though is it? It's more of a compact IF statement.
BTW, how is it causing confusion and where are the tickets you mention?
follow-up: 5 comment:3 by , on Jun 10, 2014 at 6:08:58 AM
It is listed as a "Conditional Operator" in the help page mentioned. As for the tickets, check recent tickets in bugs refused and features requested.
comment:4 by , on Jun 10, 2014 at 1:45:41 PM
| Resolution: | → Rejected |
|---|---|
| Status: | new → closed |
Rejected - for explanation see
http://www.autoitscript.com/trac/autoit/ticket/2750#comment:4
comment:5 by , on Jun 11, 2014 at 4:33:14 AM
Replying to lcofresi:
It is listed as a "Conditional Operator" in the help page mentioned. As for the tickets, check recent tickets in bugs refused and features requested.
Out of 4 tickets regarding the ternary operator, 3 of them were from you. I still don't see anyone but yourself being confused.
comment:6 by , on Jun 11, 2014 at 8:38:08 AM
Want it or not the OP is right and ?: is indeed an operator which currently has a too high precedence. It is also not listed in precedence.

Automatic ticket cleanup.