What would happen if...
#1

...I don't allow a function to return a value?
Example:

pawn Код:
forward Loop();
public Loop()
{
    foreach(Player,i)
    {
        printf("There are %d players connected.",i);
    }
    //if I don't return a value here, what would happen?
}
Same thing for stock and normal functions.
Reply


Messages In This Thread
What would happen if... - by Tee - 24.07.2012, 14:50
Re: What would happen if... - by FireCat - 24.07.2012, 14:55
Re : What would happen if... - by lelemaster - 24.07.2012, 14:57
Re: Re : What would happen if... - by Tee - 24.07.2012, 14:58
Re: What would happen if... - by Vince - 24.07.2012, 15:07
Re: What would happen if... - by Tee - 24.07.2012, 15:09

Forum Jump:


Users browsing this thread: 3 Guest(s)