FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Xbase++ : compare Object
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Xbase++ : compare Object
Posted: Mon Oct 28, 2019 03:17 AM
hi,

i try harbour with Class Code and have a Problem

Code (fw): Select all Collapse
    IF oCenterIn != oParent
      aPos := oCenterIn:MapPoint( oParent, aPos )
   ENDIF
both are Xbase++ Class Object but under harbour i get

Error BASE/1072 Argument error: <>

HBPAPPDESKTOP <> HBPAPPDESKTOP

Called from CENTERCONTROL(113)
Called from MAIN(276)
so i can't compare Class Object with harbour :-)
greeting,

Jimmy
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Xbase++ : compare Object
Posted: Mon Oct 28, 2019 09:51 AM

Jimmy,

Try this:

IF ! oCenterIn == oParent

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: Xbase++ : compare Object
Posted: Mon Oct 28, 2019 11:03 PM
hi,
Antonio Linares wrote:
Try this:
Code (fw): Select all Collapse
IF ! oCenterIn == oParent
that Syntax seems to work, THX
greeting,

Jimmy

Continue the discussion