Progress
Language Reference
GET-SIGNATURE( ) Method
Returns the signature of the internal procedure or user-defined function whose name you supply.
Specifically:
- If you provide the name of an internal procedure, GET-SIGNATURE returns the type and mode of each parameter.
- If you provide the name of a user-defined function, GET-SIGNATURE returns the return type, and the type and mode of each parameter.
- If you provide the nil procedure name (""), GET-SIGNATURE returns the signature of the procedure whose handle you supply.
- If you provide a name that does not match any of the internal procedures or user-defined functions in the procedure, GET-SIGNATURE returns the empty string ("").
- If you provide a remote (proxy) procedure handle, GET-SIGNATURE returns the UNKNOWN value (?).
- If you provide the name of a DLL entry point, GET-SIGNATURE returns the Progress equivalent of the C data type of each parameter of the entry point. For more information, see the Progress External Program Interfaces manual.
NOTE: GET-SIGNATURE does not return the signature of any internal procedure defined using the PROCEDURE statement’s PRIVATE option. Similarly, GET-SIGNATURE does not return the signature of any user-defined function defined using the FUNCTION statement’s PRIVATE option.Return Type: CHARACTER Applies To: THIS-PROCEDURE System Handle (and all procedure handles)
int-proc-name
The name of an internal procedure or user-defined function.
GET-SIGNATURE returns a string with the following format:
type
The type of the internal procedure. Types include:
return-type
(User-defined functions only) The Progress 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 either a data type or, for a buffer parameter, the name of the table associated with the buffer.
Modes are:
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |