Progress
Language Reference


SUPER Function

Interfaces
OS
SpeedScript
All
All
Yes

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

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 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:

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 in this book.

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.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095