Jump to content

Did Boolean-checking Code Revert?


Recommended Posts

I could have sworn that the following code did not crash in recent betas (~3.0.85), but now it does....

Dim $array[10]

$index = -99

If ($index >= 0) And ($index <= 9) And ($array[$index] = "foo") Then Exit

Did Jon got rid of "smart" boolean evaluation?

Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
Link to comment
Share on other sites

He did roll some code back, he could of accidentally rolled the code for this back, too... I don't think I ever actually tested the "Smart" code but I can confirm that it's not working as advertised. The below errors out, too...

If $cmdLine[0] AND $cmdLine[1] = "test" Then Exit

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...