Previous Next

SUPER function
Runs the super procedure version of the current user-defined function.
This language element must appear within a user-defined function, but can appear anywhere within the user-defined function. If this language element does not appear within a user-defined function, the compiler reports an error.
Syntax 
 
SUPER [ ( parameter [ , parameter ] ...  ) ]
parameter
A parameter of the super version of the current user-defined function. These parameters must have the same signature (number of parameters, and type and mode of each) as the parameters of the current user-defined function. You can, however, adjust a parameter’s value.
For the parameter syntax, see the Parameter definition syntax reference entry.
If a user-defined function cannot be located in any super procedure, the AVM generates the following error message:
 
SUPER version of user-defined function name invoked but could not be found
Errors are stored in the ERROR-STATUS handle when NO-ERROR is specified.
Example 
For an example of the SUPER function, see the RUN SUPER statement reference entry.
Notes 
*
*
See also 
ADD-SUPER-PROCEDURE( ) method, REMOVE-SUPER-PROCEDURE( ) method, RUN SUPER statement, SOURCE-PROCEDURE system handle, SUPER-PROCEDURES attribute, TARGET-PROCEDURE system handle

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.