Jump to content

AutoIt v3.3.9.22 Beta


Jon
 Share

Recommended Posts

  • Administrators

Do you mean a change of operation from 3.3.8.1 or are you saying that I've not fixed it back to how 3.3.8.1 was yet? I've not got the 3.3.8.1 source to hand to check until I get to work.
 
At the moment this:

If $nonObject.Something And 1 = 1 Then
  MsgBox(0, "", "True")
Else
  MsgBox(0, "", "False")
EndIf

Fails on the $nonObject part and leaves the default value (0) as the result, so it is processed as:

If 0 And 1 = 1 Then
  MsgBox(0, "", "True")
Else
  MsgBox(0, "", "False")
EndIf

Which outputs "False". It sounds like you want me to assign the S_FALSE value instead which would evaluate like this:

If S_FALSE(1) And 1 = 1 Then
  MsgBox(0, "", "True")
Else
  MsgBox(0, "", "False")
EndIf

But that would change things and output "True". It's probably such an edge case that I don't particularly mind changing it.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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