IsGlobalVarArray

PowerBuilder Native Interface

IPB_Session interface:

IsGlobalVarArray method

Description

Returns true if the global variable contains an array; otherwise it returns false.

Syntax

IsGlobalVarArray(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