添字付けする方法は,MyMatrix[2,45] と MyMatrix[2][45]の 2 種類があります。

High(MyMatrix)
High(MyMatrix[Low(MyMatrix)])