Modify

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#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 TicketCleanup, 12 years ago

Version: 3.3.12.0

Automatic ticket cleanup.

comment:2 by BrewManNH, 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?

comment:3 by lcofresi, 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 Melba23, 12 years ago

Resolution: Rejected
Status: newclosed

in reply to:  3 comment:5 by BrewManNH, 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 jchd18, 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.

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.