GetSharedVarType
Description
Obtains the datatype of the specified shared variable.
Syntax
|
1 |
GetSharedVarType ( pbgroup group, pbfieldID fid ) |
|
Argument |
Description |
|---|---|
|
group |
The group to which the shared variable |
|
fid |
The internal field ID of the shared |
Return value
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 2 3 4 |
pbuint pbvaltype; curGroup = session -> GetCurrGroup(); fid = session -> GetSharedVarID(curGroup,"i_svar"); pbvaltype = session -> GetSharedVarType(curGroup, fid); |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest