TMtxInt.Item Property

property Item[Indx1: integer; Indx2: integer]: Integer;

Access elements of the matrix without specifying the name of the property.

#NameTypeDescription
1Indx1Integer
2Indx2Integer

Returns: Int32

Remarks:

This property allows you to access elements of the matrix without specifying the name of the property. For example:

amtx[i,j] := 1; // where amtx is a TMtxInt object

.

Note
Default array property is slower than array pointers. The default array property supports only 32bit integer values (IValues).

Examples
amtx[i,j] := 1; // where amtx is a TMtxInt object