XLL+ Class Library (6.3)

CXlArray::CreateFromCols

Creates and populates a CXlArray object

void CreateFromCols(
   size_t cRows,
   size_t cCols,
   const double* const* apd
);

Parameters

cRows

The number of rows a newly created array object should contain.

cCols

The number of columns a newly created array object should contain.

apd

An array of cRows pointers to double arrays, each array containing cCols items.

Exceptions

If memory allocation fails, then an exception of type CXlMemoryAllocationFailedException will be thrown. Since this exception is derived from CXlRuntimeException, it will be caught by the add-in wrapper function when this method is called from within an add-in function.

Requirements

Header: xllplus.h

See Also

CXlArray Class | CXlArray Methods | CXlArray::Create() | CXlArray::CreateFromRows()