IPB_Session interface:
GetSharedVarType method
Description
Obtains the datatype of the specified shared variable.
Syntax
|
1 |
GetSharedVarType ( pbgroup <span>group</span>, pbfieldID <span>fid</span><span></span> ) |
|
Argument |
Description |
|---|---|
|
group |
The group to which the shared variable |
|
fid |
The internal field ID of the shared variable |
Return Values
pbuint. A simple datatype defined in
the list of pbvalue_type enumerated
types.
Examples
This example gets the field ID of a shared variable,
then uses that ID to get the type of the shared variable:
|
1 |
pbuint pbvaltype; |
|
1 |
curGroup = session -> GetCurrGroup();<br>fid = session -> GetSharedVarID(curGroup,"i_svar");<br>pbvaltype = session -> <span>GetSharedVarType</span>(curGroup, fid); |
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest