#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 Changed 10 years ago by TicketCleanup
- Version 3.3.12.0 deleted
comment:2 Changed 10 years ago by BrewManNH
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?
comment:3 follow-up: ↓ 5 Changed 10 years ago by 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.
comment:4 Changed 10 years ago by Melba23
- Resolution set to Rejected
- Status changed from new to closed
Rejected - for explanation see
http://www.autoitscript.com/trac/autoit/ticket/2750#comment:4
comment:5 in reply to: ↑ 3 Changed 10 years ago by BrewManNH
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 Changed 10 years ago by jchd18
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.
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
Automatic ticket cleanup.