Page 1 of 1

return?

Posted: 2005-09-18 23:49:02
by yokofan
how 'return' works?

some thing else then ruturn 0 ?



thx since now.

Posted: 2005-09-19 08:13:16
by Corwin

Code: Select all

SUB function_name(parameters)
	...
	RETURN value
	...
ENDSUB
- function definition. Function can contain any number of RETURN statements or not contain them at all. If function does not contain a RETURN statement or RETURN is specified without "value" - it is considered a procedure.