User`s guide
C Utility Library
and type of the Real property’s array, an error results when the object is
used in a method call.
Example. The following Visual B asic code cre ate s a complex array with
the following entrie s:
x = [ 1+i 1+2i
2+i 2+2i ]
Sub foo()
Dim x As MWComplex
Dim rval(1 To 2, 1 To 2) As Double
Dim ival(1 To 2, 1 To 2) As Double
On Error Goto Handle_Error
ForI=1To2
ForJ=1To2
rval(I,J) = I
ival(I,J) = J
Next
Next
Set x = new MWComplex
x.Real = rval
x.Imag = ival
.
.
.
Exit Sub
Handle_Error:
MsgBox(Err.Description)
End Sub
PropertyMWFlagsAsMWFlags
Stores a reference to an MWFlags object. T his property sets or gets the array
formatting and data conversion flags for a particular complex array. Each
MWComplex object has its own MWFlags property. This property overrides the
value of any flags set on the object whose methods are called.
C-26