#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 , 12 years ago
| Version: | 3.3.12.0 |
|---|
comment:2 by , 12 years ago
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 , 12 years ago
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 , 12 years ago
| Resolution: | → Rejected |
|---|---|
| Status: | new → closed |
Rejected - for explanation see
http://www.autoitscript.com/trac/autoit/ticket/2750#comment:4
comment:5 by , 12 years ago
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 , 12 years ago
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.