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
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 theparameter
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:
Errors are stored in the ERROR-STATUS handle when NO-ERROR is specified.ExampleFor an example of the SUPER function, see the RUN SUPER statement reference entry.
Notes
- To run the super version of an internal procedure, use the RUN SUPER statement.
- For the rules that ABL uses to find the super version of the current user-defined function, see the ADD-SUPER-PROCEDURE( ) method reference entry.
See alsoADD-SUPER-PROCEDURE( ) method, REMOVE-SUPER-PROCEDURE( ) method, RUN SUPER statement, SOURCE-PROCEDURE system handle, SUPER-PROCEDURES attribute, TARGET-PROCEDURE system handle
OpenEdge Release 10.2B
|