IPB_Session interface:
GetGlobalVarID method
Description
Returns the internal ID of a global variable.
Syntax
|
1 |
GetGlobalVarID(LPCTSTR <span>name</span>) |
|
Argument |
Description |
|---|---|
|
name |
The name of the global variable in lowercase |
Return Values
pbfieldID or null on
failure.
Examples
This example gets the internal identifier of a long variable
and uses it to get and set a global variable:
|
1 |
fid = session -> <span>GetGlobalVarID</span>("l_gvar");<br>l_val = session -> GetLongGlobalVar(fid, isNull);<br>session -> SetLongGlobalVar(fid, l_val + 1); |
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest