Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
45 user(s) are online (28 user(s) are browsing Forums)

Members: 3
Guests: 42

eastone, Arthas, beworld, more...

Headlines

Report message:*
 

Re: The AREXX thread (Questions, hints, ideas)

Subject: Re: The AREXX thread (Questions, hints, ideas)
by ktadd on 2021/8/26 18:11:24

@Raziel

RETURN [expression]
RETURN is used to leave a function and return control to the point of the function's invocation. The evaluated expression is returned as the function result. If an expression is not supplied, an error may result in the caller's environment. Functions called from within an expression must return a result string and will generate an error if no result is available. Functions invoked by the CALL instruction need to return a result.

A RETURN issued from the base environment of a program is not an error and is equivalent to an EXIT instruction. Refer to the EXIT instruction for a description of how result strings are passed back to an external caller. For example:

RETURN 6*7 /*Returns 42*/

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project