GetCurrGroup
Description
Obtains the name of the current group.
Syntax
|
1 |
GetCurrGroup( ) |
Return value
pbgroup or null on failure.
Examples
This example gets the name of the current group and uses it to
obtain the identifier of a shared variable, get the shared variable’s
value, and reset the shared variable’s value:
|
1 2 3 4 5 6 7 8 9 |
curGroup = session -> GetCurrGroup(); fid = session -> GetSharedVarID(curGroup, "i_svar"); if (fid == 0xffff) { MessageBox(NULL, "Illegal fid!", "default", MB_OK); return; } i_val = session-> GetIntSharedVar(curGroup, fid, isNull); session-> SetIntSharedVar(curGroup, fid, i_val+1); |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest