AddGlobalRef
Description
Adds a global reference to the specified PowerBuilder
object.
Syntax
|
1 |
AddGlobalRef (pbobject obj) |
|
Argument |
Description |
|---|---|
|
obj |
A valid PowerBuilder object handle |
Return value
pbclass or null on error.
Examples
This example checks whether a return value is null, and if it is
not, adds a global reference to it to the session:
|
1 2 3 4 5 6 7 |
if (ci-> returnValue-> IsNull()) ret_val = 0; else { ret_val = ci-> returnValue-> GetObject(); Session -> AddGlobalRef(ret_val); } |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest