SetSharedVarToNull
Description
Sets the value of the specified shared variable to null.
Syntax
|
1 |
SetSharedVarToNull(pbgroup group, pbfield fid) |
|
Argument |
Description |
|---|---|
|
group |
The group to which the shared variable |
|
fid |
The field ID of the shared variable |
Return value
None.
Examples
This example tests the IsSharedVarNull and SetSharedVarToNull
functions:
|
1 2 3 4 5 6 7 8 |
curGroup = session -> GetCurrGroup(); cls = session -> GetClass(myobj); fid = session -> GetSharedVarID(curGroup, "i_svar"); if (session -> IsSharedVarNull(curGroup, fid)) session -> SetIntSharedVar(curGroup, fid, 1); else session -> SetSharedVarToNull(curGroup, fid); |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest