Home > lang > return 
 en fr de es it nl pl pt pt_BR mk sq ca cs tr ar fa id vi ko ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Search  Administration  
Documentation  
Warning! This page is not translated.  See english version 
RETURN
RETURN [ Expression ]

Quit a procedure or a function by returning the value of Expression.

The RETURN statement does not take into account the FINALLY statement. It returns immediately without executing the FINALLY code.

In Visual Basic™ you must use the function name and assign it the returned value before returning from the function with "Exit Function".

See also

Miscellaneous Control Structures, Datatypes