Ispirer Website Ispirer Capabilities - Progress 4GL Conversion Free Trial

Progress 4GL and ABL Control Flow Statements

This article describes Progress 4GL and OpenEdge ABL control flow statements.

Overview

Statement Description
RETURN Leaves the procedure or database trigger block

RETURN

Progress 4GL/ABL - RETURN
Syntax RETURN [ERROR | NO-APPLY] [return_value]
Description Leaves the procedure or database trigger block and returns to the calling block
Parameters if ERROR is specified, the RETURN raises an error in the calling block. if NO-APPLY is specified, the RETURN suppresses the default behavior in the current user-interface event. return_value is the value returned to the caller
Notes OUTPUT or INPUT-OUTPUT parameters are not returned to the caller if RETURN ERROR is executed

Examples:

RETURN "The value is 0".
RETURN.
RETURN ERROR. 

© 1999-2024, Ispirer Systems, LLC. All Rights Reserved.