Compare Class Object ?

Discuss anything else that does not suite other forums.

Moderator: Rathinagiri

Post Reply
User avatar
AUGE_OHR
Posts: 2117
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Compare Class Object ?

Post by AUGE_OHR »

hi,

i have this working Xbase++ Code

Code: Select all

IF oCenterIn != oParent
both are Class Object and it work under Xbase++ but with harbour i got
Obj_Obj_1.jpg
Obj_Obj_1.jpg (26.32 KiB) Viewed 1154 times
Question : how to compare Object under harbour :?:
have fun
Jimmy
User avatar
AUGE_OHR
Posts: 2117
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: Compare Class Object ?

Post by AUGE_OHR »

hi,

have a workaround

Code: Select all

   // give Error O <> O under harnbour
   * IF oCenterIn != oParent

   // this seems to work
   IF ! oCenterIn = oParent
have fun
Jimmy
Post Reply