returns
#7

A return-statement passes control back to the function that called this function in the first place, i.e. "return to where you were before". In this particular case it's the server process. The server process examines the returned result to decide whether to send the "unknown command" message or not (0/1).

I suggest you read the language guide, specifically the section on operators and expressions (starting page 105): https://dl.dropboxusercontent.com/u/.../pawn-lang.pdf
Reply


Messages In This Thread
returns - by Watermelonnable - 11.02.2017, 04:53
Re: returns - by DandyCorleone - 11.02.2017, 05:15
Re: returns - by DandyCorleone - 11.02.2017, 05:23
Re: returns - by Watermelonnable - 11.02.2017, 08:07
Re: returns - by StrikerZ - 11.02.2017, 08:10
Re: returns - by Watermelonnable - 11.02.2017, 09:06
Re: returns - by Vince - 11.02.2017, 09:37

Forum Jump:


Users browsing this thread: 1 Guest(s)