finish

The finish command continues the execution of a program until the current function returns normally.

Syntax

finish

Usage

The finish command instructs the program to continue running until just after the function in the selected stack frame returns, and then stop.

The returned value, if any, is printed.

Example

(fgldb) finish 
Run till exit myfunc() at module.4gl:10 
Value returned is $1 = 123
(fgldb)