| **Navigation:**  [[templates.htm|Templates]] > [[tlrcontents.htm|Template Language Reference]] > Complete Alpha Listing >====== #RETURN (return from #GROUP) {{c6h0068.jpg|C6H0068.jpg}} ====== | [[ resume delimit conditional source .htm|{{btn_prev_n.gif|Previous page}}]][[tlrcontents.htm|{{btn_home_n.gif|Return to chapter overview}}]][[ run execute program .htm|{{btn_next_n.gif|Next page}}]] | | || **#RETURN(** [ //returnvalue// ] **)** {{blk2blue.jpg|blk2blue.jpg}} | **#RETURN** | Immediately returns from the #GROUP. | | //returnvalue// | An expression containing the value to return to the calling statement. If omitted, an empty string ('') is returned. | The **#RETURN** statement immediately returns control to the statement following the #INSERT, #CALL, or #INVOKE that called the #GROUP, or returns the //returnvalue// to the CALL or INVOKE built-in procedures. If the #INSERT, #CALL, or #INVOKE that called the #GROUP are set to receive the //returnvalue//, the value is placed in the symbol named in the #INSERT, #CALL, or #INVOKE statement. #RETURN is only valid in a #GROUP section. **Example:** **#GROUP(%ProcessListGroup,%PassedControl)** **  #FIX(%ScreenField,%PassedControl)** **  #IF (%ScreenFieldType <;> 'LIST')** **    #UNFIX(%ScreenField)** **   ****#RETURN** **  #ENDIF** **See Also:     **[[ group reusable statement group .htm|#GROUP]] ,[[ insert insert code from a group .htm|#INSERT]] ,[[ call insert code from a group without indention .htm|#CALL]] ,[[call call a group as a function .htm|CALL]] ,[[ invoke insert code from a named group .htm|#INVOKE]] ,[[invoke call a named group as a function .htm|INVOKE]]