Jump to content

Recommended Posts

Posted

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 => ?

Posted

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.

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
×
×
  • Create New...