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

Defining user-defined functions – PB Docs 2022 – PowerBuilder Library

Defining user-defined functions – PB Docs 2022

Defining user-defined functions

Although you define global functions in the Function painter and
object-level functions in the painter for a specific object, in both
cases you define and code the function in a Script view.

When you add a new function, a Prototype window displays above the
script area in the Script view. The fields in the Prototype window are
in the same order as the function’s signature:

  • The function’s access level, return type, and name

  • For each parameter, how it is passed, its datatype, and its
    name

  • The exceptions the function can throw, if any

codfun01.gif

The following sections describe each of the steps required to
define and code a new function:


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