Push

Declaration:T2DArrayStack.Push (Arr: TDouble2DArray; Name: string): integer;
The method Push puts the array Arr and its name (parameter Name) on the stack. Please note that unnamed arrays or names with duplicate names cannot be searched for by name (method FindByName).

The function returns the index of the stored array (valid range: 1..MaxSize) or -1 if the stack is full.