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....



DuplicateDataAsArray


Unit:SDL_datatable
Class: TDataTable
Declaration: function DuplicateDataAsArray (var Dest: TDouble2DArray): integer;

The method DuplicateDataAsArray resizes the two-dimensional array Dest to match the data table and copies the numeric data to the array. Please note that only the numeric representation of the data is copied regardless of the type and state of the data cells.

The function returns the following error codes:

 0 ... everything is OK
-1 ... the destination array is undefined (NIL pointer)


Last Update: 2023-Dec-14