XLL+ Class Library

COper::operator =

Assigns a new value to the OPER, using a variety of input types

[C++]
const COper& operator =(
   const COper& op
);
const COper& operator =(
   const OPER& op
);
const COper& operator =(
   double d
);
const COper& operator =(
   WORD wError
);
const COper& operator =(
   BOOL boolean
);
const COper& operator =(
   const char* psz
);

Parameters

op

An initialised COper.

op

An initialised OPER.

d

A double-precision floating-point number.

wError

An error number (see Error Values).

boolean

A boolean value: TRUE (1) or FALSE (0).

psz

A pointer to a null-terminated ASCII string, or a reference to a CString.

Remarks

These operators assign a new value to the COper. If the COper already contains data, then it will be appropriately cleared before the assignment.

Requirements

Header: xllplus.h

See Also

COper Class | COper Methods