Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (187 - 189 of 3868)

Ticket Resolution Summary Owner Reporter
#3752 Rejected Making mod() an infix operator Robinson1 <Djamana@…>
Description

That ticket is about the AutoIT Language parser.

In short:

Concerning:

Mod as well as BitAND, BitOR, BitXOR, BitXOR, BitShift, BitRotate

What if:

$result = 3 mod 2

works as well as

$result = Mod(3,2)

currently does.

In more detail

the idea of this ticket is to propose to also have for function/operators BitAND, BitOR, BitXOR, BitXOR, BitShift, BitRotate and Mod also an infix version?

... like it is in most other common programming languages it is. For example JavaScript:

Result = Value & Mask

And vs BitAnd()

Concerning this the situation in AutoIT is at the moment a little 'unique'. While the logical And is indeed infix:

$bIsEnable = $bIsGUI_chkEnabled and $bIsGUI_chkChecked

for the Bitwise pendant BitAnd it is not:

$Result = BitAND ( $Value , $Mask )

(Instead it's a prefix operator - like most the other functions)

So I wonder why it is like this. Question 1:

What is the idea about this language design decision?

Okay Autoit is a matured Language but yeah it's never to late for a change.

Question 2: Wasn't there any tries to unify that before?

So what about also making the 'Bit' operations infix as well. ... while of course keeping the 'old' prefix version -for backwards compatibility - . It won't break anything, but in my eyes is a big improvement regarding style and intuitivity of Autoit.

Linked Forum Topic

https://autoitscript.com/forum/topic/202303-autoit-language-why-bitand-is-not-an-infix-statemen

#3751 Fixed Abbreviation Manager with abbreviation [ Melba23 Nine
Description

Creating an abbreviation with character [ generates all sort of problems. Unable to delete, to rename, to edit. Only way to get rid of it is to go directly into the au3UserAbbrev.properties file and delete the line.

#3750 Fixed Typo in helpfile anonymous
Description

Hi, there is a typo on "#OnAutoItStartRegister" page in the help :

"nor any variables defined as Dlobal within the script"

Note: See TracQuery for help on using queries.