LxP Posted December 20, 2005 Share Posted December 20, 2005 Hi devs,AutoIt now has support for Booleans, so I would expect the following code to display False/True:Local $Test1 = 1 > 2 Local $Test2 = 'Z' > 'A' MsgBox(0x40, 'Boolean test', $Test1 & @LF & $Test2)however 0/1 is displayed. Is this a bug? Link to comment Share on other sites More sharing options...
jpm Posted December 20, 2005 Share Posted December 20, 2005 Hi devs, AutoIt now has support for Booleans, so I would expect the following code to display False/True: Local $Test1 = 1 > 2 Local $Test2 = 'Z' > 'A' MsgBox(0x40, 'Boolean test', $Test1 & @LF & $Test2) however 0/1 is displayed. Is this a bug?for compatibility reason . Boolean was introduce is the beta and cannot be generalized without breaking a lot of scripts Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now