Administrators Jon Posted November 28, 2013 Author Administrators Share Posted November 28, 2013 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. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
trancexx Posted November 28, 2013 Share Posted November 28, 2013 You did good.Being anal is sometimes gay so don't change a thing more. DatMCEyeBall 1 ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
Recommended Posts