Passing
arguments to functions and events
In PowerBuilder, arguments for built-in or user-defined functions
and events can be passed three ways:
|
Method of passing |
Description |
|---|---|
|
By value |
A copy of the variable is available in the function |
|
By reference |
A pointer to the variable is passed to the function |
|
Read-only |
The variable is available in the function or event. Read-only provides For other datatypes, read-only |