What does Return; do?
#2

It's not always required to return a value. That's really only needed in a callback or when you return with a function call e.g.

Код:
return doSomething(var);
You'd also have to return a value, usually being it 1 or 0; it doesn't matter if the function has no specific return value needed, though.
Reply


Messages In This Thread
What does Return; do? - by Nameless303 - 17.12.2009, 00:56
Re: What does Return; do? - by bigcomfycouch - 17.12.2009, 01:06
Re: What does Return; do? - by Malice - 17.12.2009, 01:10

Forum Jump:


Users browsing this thread: 1 Guest(s)