Exception handling – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
(Answered)
(I changed my previous stupid answer)
Line 1: Line 1:
Can the if statement handle numbers? Because emptyPositions returns a number and not a boolean. --[[User:T D|T_D]] 20:07, 22 July 2006 (CEST)
Can the if statement handle numbers? Because emptyPositions returns a number and not a boolean. --[[User:T D|T_D]] 20:07, 22 July 2006 (CEST)


:If statement needs logic expression (_cislo < 5, Alive Guba, etc.) --[[User:Djura|Djura]] 20:32, 22 July 2006 (CEST)
:IMHO every number larger than zero means true. --[[User:Djura|Djura]] 20:38, 22 July 2006 (CEST)

Revision as of 19:38, 22 July 2006

Can the if statement handle numbers? Because emptyPositions returns a number and not a boolean. --T_D 20:07, 22 July 2006 (CEST)

IMHO every number larger than zero means true. --Djura 20:38, 22 July 2006 (CEST)