Sign in to follow this  
Followers 0
PartyPooper

Operator Precedence

2 posts in this topic

Why is it I can use:

ElseIf Number($Split[2]) >= 0.2 And Number($Split[2]) <= 0.3 Then

but I can't use:

ElseIf Number($Split[2]) => 0.2 And Number($Split[2]) <= 0.3 Then

Is there a reason why AutoIt sees a precedence difference between >= and => ?

Share this post


Link to post
Share on other sites



Having the equals sign before a greater or less then sign is incorrect in the AutoIt Helpfile. It is noted as being incorrect for a basic language as you can also see at this wiki.

AutoIt is a basic language and tries to follow the syntax of basic languages.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0