GetArrayInfo

PowerBuilder Native Interface

IPB_Session interface:

GetArrayInfo method

Description

Syntax

GetArrayInfo(pbarray array)

Return Values

Examples

if ( !(ci->pArgs->GetAt(0)->IsNull()) )
{
   array = ci->pArgs->GetAt(0)->GetArray();
   pArrayInfo = session->GetArrayInfo (array);
   pArrayItemCount = session->GetArrayLength(array);
}
else
{
   // NULL array
pArrayItemCount = 0;
}

Usage

See Also