FORMULA LANGUAGE


@Return
Example

Immediately stops the execution of a formula and returns the specified value. This is useful when you only want the remainder of the formula to be executed only if certain conditions are True.

Syntax

@Return( value )

Parameters

value


Return value

result


Usage

@Return is most useful in field formulas, agents that run formulas, and toolbar buttons. Generally, you use it with @If to determine whether to perform @Return or to perform one or more other statements.

@Return should not be used in column formulas.

Language cross-reference

End statement of LotusScript language

Exit statement of LotusScript language

Example
See Also