20.01.2013, 15:04
(
Последний раз редактировалось Emre__; 20.01.2013 в 15:38.
)
Hello everyone,
I've created a new function and when I call it I get the error message as title.
Please help me about it. Thanks.
I've created a new function and when I call it I get the error message as title.
pawn Код:
forward IsDivisible(the_number, divided_by);
public IsDivisible(the_number, divided_by)
{
while(the_number > 0) the_number -= divided_by;
if(!the_number) return true;
return false;
}
pawn Код:
if(IsDivisible(100, 3) == false) // the warning line.
printf("This value can not be divised by 3");