IsGlobalVarNull

PowerBuilder Native Interface

IPB_Session interface:

IsGlobalVarNull method

Description

Returns true if the global variable contains a null value; otherwise it returns false.

Syntax

IsGlobalVarNull( pbfield fid)

Argument

Description

fid

The field ID of the global variable

Return Values

pbboolean.

Examples

These statements test whether the field identified by fid is a global variable array:

fid = session -> GetGlobalVarID("arr_gvar");
if (session -> IsGlobalVarArray(fid))
{
   arr_val=session -> GetArrayGlobalVar(fid, isNull);
...

See Also