The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



Push


Unit: SDL_dstruct
Class: T2DArrayStack
Declaration: [1] function Push (Arr: TDouble2DArray): integer;
[2] function Push (Arr: TDouble2DArray; Name: string): integer;

The method Push puts the array Arr on the stack. Optionally the array may be named by adding the parameter Name (version [2]). Please note that unnamed arrays 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.


Last Update: 2023-Feb-06