Progress
Language Reference
SUPER Function
Runs the super 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 occur 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 the syntax for parameter, see the FUNCTION Statement reference entry in this book.
NOTE: If a user-defined function can not be located in any super procedure, Progress generates an 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 in this book.
NOTES
- To run the super version of an internal procedure, use the RUN SUPER statement.
- For the rules that Progress uses to find the super version of the current user-defined function, see the ADD-SUPER-PROCEDURE( ) Method reference entry in this book.
- For an overview of super procedures, see the “Procedure Overriding” section of the “Block Properties” chapter of the Progress Programming Handbook .
SEE ALSO
ADD-SUPER-PROCEDURE( ) Method, REMOVE-SUPER-PROCEDURE( ) Method, RUN SUPER Statement, SOURCE-PROCEDURE System Handle, SUPER-PROCEDURES Attribute, TARGET-PROCEDURE System Handle.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |