- to use == everywhere where possible
- or use it only where it is really necessary?
Code: Select all
var := "Foo"
if (var = "foo")
msgBox % "Success"
; vs.
var := "Foo"
if (var == "Foo")
msgBox % "Success"
Code: Select all
var := "Foo"
if (var = "foo")
msgBox % "Success"
; vs.
var := "Foo"
if (var == "Foo")
msgBox % "Success"
Yes, I understand. This is exactly what my question is about.guest3456 wrote:perform two different comparisons
Then you use whatever suits your use case best. It's simple like that.john_c wrote:Yes, I understand. This is exactly what my question is about.guest3456 wrote:perform two different comparisons
Return to “General Discussion”
Users browsing this forum: No registered users and 8 guests