Sign in to follow this  
Followers 0
CyberSlug

Did Boolean-checking Code Revert?

3 posts in this topic

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!

Share this post


Link to post
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

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