Previous Next

GET-SIGNATURE( ) method
Returns the signature of the internal procedure or user-defined function whose name you supply. Specifically:
*
*
*
*
*
*
Note:
Return type:
Applies to:
 
Syntax 
GET-SIGNATURE ( int-proc-name )
int-proc-name
The name of an internal procedure or user-defined function.
GET-SIGNATURE returns a string with the following format:
 
Syntax 
type , return-type , [ mode name p-type [ , mode name p-type ] ... ]
type
The type of the internal procedure. Types include:
*
PROCEDURE — An ABL internal procedure
*
FUNCTION —  An ABL user-defined function whose definition resides in the procedure
*
EXTERN — An ABL user-defined function whose definition resides in another procedure
*
DLL-ENTRY — A DLL entry point
*
MAIN — The main procedure
return-type
(User-defined functions only) The ABL data type that a user-defined function returns.
mode name p-type
A parameter description where mode is the mode of the parameter, name is the name of the parameter, and p-type is the type of parameter. The parameter type is either a data type (scalar or array) or, for a buffer parameter, the name of the table associated with the buffer.
The modes are:
*
*
*
*
*
*
*
The data types are:
*
*
*
*
*
*
*
*
*
*
*
*
*
When you define the parameter type as a determinate array with a constant extent value, the GET-SIGNATURE( ) method returns the constant extent value specified as part of the signature (for example, EXTENT 100). When you define the parameter type as a determinate array with a variable extent value, or as an indeterminate array, the GET-SIGNATURE( ) method returns only the extent keyword (that is, EXTENT, with no extent value).

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