XLL+ Class Library (6.3)

CXlArray::Alloc

Resizes a CXlArray object

void Alloc(
   size_t cRows,
   size_t cCols
);

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.

Remarks

The array will be resized and all its values will be set to arbitrary values.

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::AllocInit()