XLL+ Class Library

COper::operator []

Returns an item from an array

[C++]
COper& operator [](
   USHORT usItem = 0
);
const COper& operator [](
   USHORT usItem = 0
) const;

Parameters

usItem

The row or column of the required value within the array. The first item is at usItem = 0.

Return value

This function returns a reference to a COper contained within a single-dimensional array.

Remarks

If the COper does not contain a one-dimensional array, or if usRow is out of range, then the function will assert.

Example

COper::operator [] Example

Requirements

Header: xllplus.h

See Also

COper Class | COper Methods