RETURN operator
The RETURN
operator creates an action that implements exit from an action created by the EXEC
operator.
Syntax
RETURN
Description
The RETURN
operator creates an action that exits from the most nested action call.
Examples
importFile {
LOCAL file = FILE ();
INPUT f = FILE DO {
file () <- f;
}
IF NOT file() THEN RETURN;
}