Assigns the CXlOper to be an array of double's wih integer values, and copies values into the array
const CXlOper& FromLongArray( const long* pl, size_t cRows ); const CXlOper& FromLongArray( const long* pl, size_t cRows, size_t cCols, BOOL bByRows = FALSE ); const CXlOper& FromLongArray( const long* const* apl, size_t cRows, size_t cCols, BOOL bByRows = FALSE ); |
An array of long's, containing either cRows items, or (cRows x cCols) items, depending on the function variant used. For the latter type, the values should be arranged in the order specified by the bByRows parameter.
The number of rows contained in the supplied array of longs.
The number of columns contained in the supplied array of longs.
Storage order of arrays of long's. If TRUE, then values in the same row are stored contiguously, otherwise values in the same column are assumed to be stored contiguously.
An array of pointers to long, containing either cRows arrays each of size cCols, or cCols arrays each of size cRows, depending on the order specified by the bByRows parameter.
This function sets the type of the CXlOper to be an array, allocates space for the array of longs provided and sets the values into the CXlOper. Each integer value is converted to a double.
The method will throw an exception of type CXlEmptyArrayException if the supplied array is empty, or of type CXlArrayTooLargeException if the array is too large.
Header: xllplus.h