xHarbour -> Harbour compatibility

toninhofwi
Posts: 161
Joined: Tue Oct 18, 2005 10:01 am

Re: xHarbour -> Harbour compatibility

Post 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.
User avatar
fraxzi
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines
Contact:

Re: xHarbour -> Harbour compatibility

Post 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,
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
toninhofwi
Posts: 161
Joined: Tue Oct 18, 2005 10:01 am

Re: xHarbour -> Harbour compatibility

Post 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.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: xHarbour -> Harbour compatibility

Post by Antonio Linares »

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
Post Reply