목차
Overview of Functions and Subroutines
Function Declarations
Declaring Object-Level Functions
Using the Function Painter to Define Global Functions
Declaring User Events
Function Declarations
Declaring Object-Level Functions
Using the Function Painter to Define Global Functions
Declaring User Events
본문내용
Overview of Functions and Subroutines
Function Declarations
Declaring Object-Level Functions
Using the Function Painter to Define Global Functions
Declaring User EventsFunctions perform processing and return a value
Subroutines do not return a value
PowerBuilder provides a set of built-in functions
Encapsulated reusable behavior in a user-defined function
Functions provide a way to reuse code. They can be defined globally or at the object level.
Function scripts can include any PowerScript component.
Object-level functions are created from an object painter.
You can define one function name with different argument lists, and PowerBuilder invokes the appropriate one based on the calling argument list.
Function Declarations
Declaring Object-Level Functions
Using the Function Painter to Define Global Functions
Declaring User EventsFunctions perform processing and return a value
Subroutines do not return a value
PowerBuilder provides a set of built-in functions
Encapsulated reusable behavior in a user-defined function
Functions provide a way to reuse code. They can be defined globally or at the object level.
Function scripts can include any PowerScript component.
Object-level functions are created from an object painter.
You can define one function name with different argument lists, and PowerBuilder invokes the appropriate one based on the calling argument list.