stock boolean
#3

Quote:
Originally Posted by Bussyman
Посмотреть сообщение
Hi,

If i have function

Код:
stock anyfunction()
{
return true;
}

stock anyfunction()
{
return 1;
}
Is there any difference? do i need anyfunction with return true make bool:anyfunction or this is not need?
well, with making it bool:anyfunction() it will only return "false" or "true", but without "bool:" the function can return many type of objects/variables
Reply


Messages In This Thread
stock boolean - by Bussyman - 27.07.2017, 11:55
Re: stock boolean - by Bussyman - 27.07.2017, 14:08
Re: stock boolean - by Xeon™ - 27.07.2017, 14:10
Re: stock boolean - by Bussyman - 27.07.2017, 14:17
Re: stock boolean - by Dayrion - 27.07.2017, 14:21

Forum Jump:


Users browsing this thread: 1 Guest(s)