Functions [ HP ALLBASE/4GL Developer Reference Manual Vol. 2 ] MPE/iX 5.0 Documentation
HP ALLBASE/4GL Developer Reference Manual Vol. 2
Functions
An HP ALLBASE/4GL function is similar to a subroutine in a conventional
language.
When HP ALLBASE/4GL finishes executing a function, it resumes running the
application at the point where the function was initiated.
Functions may be nested. That is, one function may call another
function. The maximum depth of nesting is 99, and recursion is
permitted.
Creating a function also involves completing a function header screen and
a function detail screen. The function logic block defined in the
function detail screen is similar to a process logic block.
MPE/iX 5.0 Documentation