Progress
Language Reference
DYNAMIC-FUNCTION Function
Invokes a user-defined function. Progress evaluates the name of the function (and the procedure handle, if any) at run time.
SYNTAX
function-name
A CHARACTER expression that returns the name of a user-defined function. Progress evaluates function-name at run time.
proc-handle
An expression that returns a handle to the procedure that defines the function. Progress evaluates proc-handle at run time.
param1, param2, ...
Parameters of the user-defined function. You must supply names of actual data items,-actual parameter names-not CHARACTER expressions that return parameter names.
NOTE: Progress cannot check the mode and type of the parameters at compile time, since Progress does not evaluate function-name until run time. EXAMPLEThe following procedure demonstrates the DYNAMIC-FUNCTION function.
SEE ALSO
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |