Booleans
#4

pawn Код:
variableName = true/false;

if (variableName) {
    // do something if it's true
}
Booleans are just like other variables, except they only accept the values true and false.
Reply


Messages In This Thread
Booleans - by 2KY - 18.01.2012, 20:52
Re: Booleans - by Vince - 18.01.2012, 20:56
Re: Booleans - by spedico - 18.01.2012, 20:57
Re: Booleans - by Slice - 18.01.2012, 20:58
Re: Booleans - by Baboon - 18.01.2012, 20:58
Re: Booleans - by 2KY - 18.01.2012, 21:00
Re: Booleans - by Slice - 18.01.2012, 21:04
Re: Booleans - by Vince - 18.01.2012, 21:15
Re: Booleans - by 2KY - 18.01.2012, 21:18
Re: Booleans - by Slice - 19.01.2012, 05:05

Forum Jump:


Users browsing this thread: 4 Guest(s)