IPB_Session interface:
AddGlobalRef method
Description
Adds a global reference to the specified PowerBuilder object.
Syntax
|
1 |
AddGlobalRef (pbobject <span> obj</span>) |
|
Argument |
Description |
|---|---|
|
obj |
A valid PowerBuilder object handle |
Return Values
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 |
if (ci-> returnValue-> IsNull())<br>   ret_val = 0;<br>else<br>   {<br>   ret_val = ci-> returnValue-> GetObject();<br>   Session -> AddGlobalRef(ret_val);<br>} |
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest