I need a Tuto of True and False
Someone can do a tutorial to use well True and False?
Sorry is i post wrong, Admin move is this is wrong :D |
Re: I need a Tuto of True and False
true == 1
false == 0 basically works just like other variables, when declaring new variables you must precede the variable name with bool: you can only set booleans to true or false. |
Re: I need a Tuto of True and False
I need this to disable a public with a task or when i enable another public :D
Thank, if you have a example, post :D |
Re: I need a Tuto of True and False
this amy help you too
if( variable != 0 ) //statement will return true else //statement will return false |
Re: I need a Tuto of True and False
Quote:
|
Re: I need a Tuto of True and False
In boolean logic, false means 0,and true means everything else. Can't be any simpler.
|
| All times are GMT -4. The time now is 05:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.