IPB_Session interface:
GetSharedVarType method
Description
Obtains the datatype of the specified shared variable.
Syntax
GetSharedVarType ( pbgroup group, pbfieldID fid )
Argument
|
Description
|
group
|
The group to which the shared variable
belongs
|
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:
pbuint pbvaltype;
curGroup = session -> GetCurrGroup();
fid = session -> GetSharedVarID(curGroup,"i_svar");
pbvaltype = session -> GetSharedVarType(curGroup, fid);
See Also