Jump to content

Equality between initialized and not initialized variables


 Share

Recommended Posts

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

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

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...