Modify

Opened 12 years ago

Closed 12 years ago

#2280 closed Feature Request (Rejected)

Logical operator precedences

Reported by: Mat Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: logical, operators, precedence, and, or Cc:

Description

In most programming languages, AND has a greater precedence than OR. It would appear that in AutoIt they are both the same.

For example:

True Or False And False

Current behaviour would return False, most programming languages would return true.

Change History (1)

comment:1 Changed 12 years ago by trancexx

  • Resolution set to Rejected
  • Status changed from new to closed

Precedence is irrelevant as long as it's docummented. Considering that's the case here, script breaking change wouldn't make much sense.

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.

Add Comment

Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.