Sign in to follow this  
Followers 0
Yves1Fix

Equality between initialized and not initialized variables

2 posts in this topic

Dim $a[1]

$b = "This is a test"

ReDim $a[1]

If $b = $a[0] Then

;AutoIt 3.1.1.0

MsgBox(0, "Equal", "[" & $b & "] is equal to [" & $a[0] & "]")

EndIf

Yes I know, I have to do something like that : $a[0] = ""

but is it a bug or not ? I did not found any info in AutoIt Help

Yves

Share this post


Link to post
Share on other sites



Yes I know, I have to do something like that : $a[0] = ""

but is it a bug or not ? I did not found any info in AutoIt Help

Yes. This was fixed in beta 3.1.1.57.

See this topic for details: http://www.autoitscript.com/forum/index.php?showtopic=13273

If you look in the beta helpfile, it's listed in the History / Changelog section.


[font="Tahoma"]"Tougher than the toughies and smarter than the smarties"[/font]

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