Page 2 of 2

Re: xHarbour -> Harbour compatibility

Posted: Fri Jan 16, 2009 4:36 pm
by toninhofwi
Hi Frances,

Try do post a question in harbour@harbour-project.org.

This is tla latest post about global variables, from Przemek:

---cut---
> Hi Guys,
> Is xHarbour's GLOBAL and GLOBAL EXTERNAL statements supported in Harbour ?

No it isn't.
I have patches for GLOBALs implementation but I'm waiting for MT mode
and final solution for memvars and PUBLICs. If I'll made all memvars
thread oritented then I'll intorduce GLOBALs otherwise if PUBLIC will
be shared between threads then rather not though I hope that we will
talk about it later. It should be group decision.
---cut---


Regards,

Toninho.

Re: xHarbour -> Harbour compatibility

Posted: Sat Jan 17, 2009 5:16 am
by fraxzi
Dear Frank and Toninho and Others too,

Thank you for the great effort and suggestion...

Even if we change how GLOBAL/GLOBAL EXTERNAL to work in Harbour, I cannot imagine the effect unless... Harbour implement the compatibility with xHarbours'

Nonetheless, re-designing xHarbour Apps for Harbour is not that easy.

Lesson learned: I must absolutely determine which way to go...xHarbour or Harbour? :idea:

Regards,

Re: xHarbour -> Harbour compatibility

Posted: Sat Jan 17, 2009 11:47 am
by toninhofwi
fraxzi wrote:Dear Frank and Toninho and Others too,

Nonetheless, re-designing xHarbour Apps for Harbour is not that easy.

Lesson learned: I must absolutely determine which way to go...xHarbour or Harbour? :idea:

Regards,


Dear Frances,

I understand your point, I lost a lot of time converting my applications to run in both Harbour and xHarbour. Using:

#ifdef __XHARBOUR__
#endif

But this is not a easy job and I´d never used GLOBAL, my big problem was with extended codeblocks but Przemek fix Harbour to accept xHarbour <||> syntax and my job was simplified.

About GLOBAL variables, please, post a message in Harbour dev forum, of course anybody will help you.

Regards,

Toninho.

Re: xHarbour -> Harbour compatibility

Posted: Sun Jan 18, 2009 11:57 am
by Antonio Linares
A good advise is to build it with Harbour, and it should work with minor changes with xHarbour too.