I know...It's probably something simple I've overlooking, but why am I getting error 414 
If I add another parenthesis, or if I remove both it works...

Code:
#Compile Exe #Dim All ' ----------------------------------------------------------------------------- ' ----- Class Definition Class CPoint3D Instance m_x, m_y, m_z As Long ' ------------------------------------------------------------------------- ' ----- Interface Definition Interface IPoint3D : Inherit IUnknown Method Copy( ByVal o As IPoint3D ) m_x = o.X m_y = o.Y m_z = o.Z End Method ' Copy ' X Property Get X() As Long : Property = m_x : End Property Property Set X( l As Long ) : m_x = l : End Property ' Y Property Get Y() As Long : Property = m_y : End Property Property Set Y( l As Long ) : m_y = l : End Property ' Z Property Get Z() As Long : Property = m_z : End Property Property Set Z( l As Long ) : m_z = l : End Property End Interface ' IPoint3D End Class ' CPoint ' ----------------------------------------------------------------------------- ' ----- Class Definition Class CLine3D Instance m_A, m_B As IPoint3D Class Method Create() m_A = Class "CPoint3D" m_B = Class "CPoint3D" End Method ' Create ' ------------------------------------------------------------------------- ' ----- Interface Definition Interface ILine3D : Inherit IUnknown ' ----- PUBLIC Methods Method Copy( ByVal o As ILine3D ) m_A.Copy( o.A ) ' <--- [B]Error 414[/B] in [this file](51:028): ")" expected m_B.Copy( o.B ) End Method ' Copy ' ----- PUBLIC Properties ' Point A Property Get A() As IPoint3D : Property = m_A : End Property ' Point B Property Get B() As IPoint3D : Property = m_B : End Property End Interface 'ILine3D End Class ' CLine3D Function PBMain() As Long End Function
Comment