Copy1Dto1DArray
Declaration: |
Copy1Dto1DArray (Src: TDoubleArray; SrcElemLo, SrcElemHi, DestElem: integer; var Dest: TDoubleArray): integer; |
The function Copy1Dto1DArray copies part of the one-dimensional array Src into the one-dimensional array Dest. The range to be copied is specified by the parameters SrcElemLo and SrcElemHi, the destination location is determined by DestElem. The destination array must be large enough to accommodate all copied cells.
The function returns the following error codes:
0 ... everything is OK
-1 ... the source matrix has zero size
-2 ... any of the parameters is out of range, or the destination array is too small
|
|