Posts: 950
Threads: 168
Joined: Mar 2009
Reputation:
0
---------
// Is that correct if..
1 = true
0 = false
?
Posts: 2,502
Threads: 26
Joined: Apr 2007
Reputation:
0
It doesn't return a boolean, therefore checking it as a boolean will cause the compiler to throw an error. You should just compare it with 0 or 1.