Skip to content

Return Command

Obsolete

The Gosub command is obsolete and was used in procedural code prior to object-oriented DataFlex versions (OOP DataFlex was released in version 3.0 in 1991). You should use classes and objects that utilize Procedures and Functions instead of subroutines.

From DataFlex version 6.0 and beyond, the Gosub_Return command must be used to return execution from a subroutine call.

From DataFlex version 7.0 and beyond, the Return command will be used to terminate procedures and functions.