FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xHarbour -> Harbour compatibility
Posts: 182
Joined: Tue Oct 18, 2005 10:01 AM
Re: xHarbour -> Harbour compatibility
Posted: Fri Jan 16, 2009 04:36 PM

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.

Posts: 811
Joined: Tue May 06, 2008 04:28 AM
Re: xHarbour -> Harbour compatibility
Posted: Sat Jan 17, 2009 05:16 AM

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,

Kind Regards,

Frances



Fivewin for xHarbour v18.07

xHarbour v1.2.3.x

BCC 7.3 + PellesC8 ( Resource Compiler only)

ADS 10.1 / MariaDB

Crystal Reports 8.5/9.23 DE

xMate v1.15
Posts: 182
Joined: Tue Oct 18, 2005 10:01 AM
Re: xHarbour -> Harbour compatibility
Posted: Sat Jan 17, 2009 11:47 AM
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? :-)

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.
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: xHarbour -&gt; Harbour compatibility
Posted: Sun Jan 18, 2009 11:57 AM

A good advise is to build it with Harbour, and it should work with minor changes with xHarbour too.

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion