GLOBAL_LSCALL |
DEVELOPER |
Trail: PROIV Documentation > Developer > PROIV Developer > Developing Functions > Events and Logic > GLOBAL_LSCALL
|
|
Purpose |
GLOBAL_LSCALL allows you to call another function from within a function as a subroutine. |
Syntax |
GLOBAL_LSCALL(function name{,interface ID{,return code}}) |
Operation |
function name is the name of the function to be called. |
Remarks |
Applications that used this feature prior to Version 4 must convert the function to 4.0 format using the file conversion utility @UPDGLF. If the file is not converted, errors may or may not occur when the function is genned. PROIV will disregard 3.0 formatted parameter lists, used by GLOBAL_LSCALLS, without informing you. |
Example |
GLOBAL_LSCALL(TESTFUNC) |
If either GLOBAL_LSCALL or LSCALL is used either directly or indirectly via a Global Logic, you must preserve the value of $INPUT and #INPUT by saving it in another variable and restoring it on return. |
Topic ID: 520063