GetArrayLength

PowerBuilder Native Interface

IPB_Session interface:

GetArrayLength method

Description

Syntax

GetArrayLength(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;
}

See Also