Share via


DictField.arraySize Method

Returns the array size for the field (in other words, the array size of the underlying extended data type).

Syntax

public int arraySize()

Run On

Called

Return Value

Type: int
The array size for the field; 1 if the field is not an array.

Examples

The following example shows the retrieval of the array size for a field.

DictField df; 
Types     t; 
 
df = new DictField(tablenum(CustTable), fieldnum(CustTable, AccountNum));  
if (df) 
{ 
    print strfmt("The arraySize is %1.", df.arraySize()); 
}

See Also

Reference

DictField Class