IPB_Session interface:
GetGlobalVarID method
Description
Returns the internal ID of a global variable.
Syntax
GetGlobalVarID(LPCTSTR name)
Argument
|
Description
|
name
|
The name of the global variable in lowercase
|
Return Values
pbfieldID or null on
failure.
Examples
This example gets the internal identifier of a long variable
and uses it to get and set a global variable:
fid = session -> GetGlobalVarID("l_gvar");
l_val = session -> GetLongGlobalVar(fid, isNull);
session -> SetLongGlobalVar(fid, l_val + 1);
See Also