GetGlobalVarType

PowerBuilder Native Interface

IPB_Session interface:

GetGlobalVarType method

Description

Syntax

GetGlobalVarType(pbfieldID fid)

Return Values

Examples

fid = session -> GetGlobalVarID("i_gvar");
if (session -> GetGlobalVarType(fid) == pbvalue_int)
   {
      i_val=session -> GetIntGlobalVar(fid,isNull);
      session -> SetIntGlobalVar(fid,i_val+1);
   }

See Also