Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

FindFunctionDefinition – PB Docs 2022 – PowerBuilder Library

FindFunctionDefinition – PB Docs 2022

FindFunctionDefinition

PowerScript function

Description

Searches for a global function in one or more PowerBuilder libraries
(PBLs) and provides information about the script definition.

Syntax

Argument

Description

functionname

The name of a global function for which you want
information.

librarylist (optional)

An array of strings whose values are the fully qualified
pathnames of PBLs. If you omit librarylist,
FindFunctionDefinition searches the library list associated with
the running application.

Return value

ScriptDefinition. Returns an object reference with information about
the script of functionname. If any arguments are null,
FindFunctionDefinition returns null.

Usage

You can call FindClassDefinition to get a class definition for a
global function. However, the ScriptDefinition object provides information
tailored for functions.

Examples

This example searches the libraries for the running application to
find the function definition for f_myfunction:

This example searches the libraries in the array ls_libraries to
find the class definition for w_genapp_frame:

See also

FindClassDefinition

FindMatchingFunction

FindTypeDefinition


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x