Lotus Software logo
IBM Lotus Domino Designer 8.5
  Versions 8.5 and 8.5.1






@Return

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

The value you want returned. You can specify another @function such as @Error, or a text string such as "Formula stopped," or a Boolean value (True or False). If you don't want anything returned, use the null string ("").

Return value

result

Returns value.

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

See examples

Examples: @Return
Related topics
Run-time errors




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009