FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Migrating to Harbour
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Re: Migrating to Harbour

Posted: Thu Feb 05, 2015 09:39 AM

Antonio,

great! Now I can go on with my tests! :-)

I'll keep you informed...

EMG

Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Re: Migrating to Harbour

Posted: Thu Feb 05, 2015 11:28 AM
Another Harbour bug. The following sample:

Code (fw): Select all Collapse
FUNCTION MAIN()

    LOCAL n := "01"

    PRIVATE cVar01 := "Test"

    ? cVar&n

    INKEY( 0 )

    RETURN NIL


gives this compilation error:

Code (fw): Select all Collapse
Harbour 3.2.0dev (r1501292255)
Copyright (c) 1999-2015, http://harbour-project.org/
BUG.prg(7) Error E0042  Macro of declared symbol 'CVAR&N'
1 error

No code generated.


While xHarbour compiles correctly.

Any ideas?

EMG
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM

Re: Migrating to Harbour

Posted: Thu Feb 05, 2015 11:35 AM
Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Re: Migrating to Harbour

Posted: Thu Feb 05, 2015 11:41 AM
Cristobal,

thank you. Is this the correct way?

Code (fw): Select all Collapse
FUNCTION MAIN()

    LOCAL n := "01"

    PRIVATE cVar01 := "Test"

    ? &( "cVar" + n )

    INKEY( 0 )

    RETURN NIL


EMG
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM

Re: Migrating to Harbour

Posted: Thu Feb 05, 2015 11:48 AM
Look

Code (fw): Select all Collapse
MEMVAR cVar01

FUNCTION MAIN()

    LOCAL n := "01"

    PRIVATE cVar01 := "Test"

    ? &( "cVar" + n )

    INKEY( 0 )

    RETURN NIL
Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Re: Migrating to Harbour

Posted: Thu Feb 05, 2015 12:01 PM

Cristobal,

thank you.

EMG

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM

Re: Migrating to Harbour

Posted: Fri Feb 06, 2015 05:40 AM

Enrico,

Are you still using PRIVATEs?

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Re: Migrating to Harbour

Posted: Fri Feb 06, 2015 10:07 AM
James,

James Bott wrote:Are you still using PRIVATEs?


No, but I have older applications to maintain.

EMG
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM

Re: Migrating to Harbour

Posted: Fri Feb 06, 2015 03:33 PM

Enrico,

Thank goodness. You had me worried.

Those older apps must be really old.

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Re: Migrating to Harbour

Posted: Fri Feb 06, 2015 03:40 PM
James,

James Bott wrote:Thank goodness. You had me worried.


:-)

James Bott wrote:Those older apps must be really old.


19xx :-)

EMG
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM

Re: Migrating to Harbour

Posted: Fri Feb 06, 2015 11:11 PM

Yeah some of us are getting up there in years.

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 663
Joined: Mon Dec 05, 2005 11:22 PM

Re: Migrating to Harbour

Posted: Sat Feb 07, 2015 07:48 PM

What do you mean getting? dBase II cp/m

Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM

Re: Migrating to Harbour

Posted: Sat Feb 07, 2015 08:34 PM

Gale,

Several years ago I attended some training sessions held by Microsoft, and all the people there were commenting how they had to earn their retirement by 35 years of age. Beyond that, they believed, no one could possibly continue as a programmer.

When I explained I had been programming, as my 3rd profession, for over 30 years, they didn't think that was possible.

And I do remember starting my first applications using dbase II, CP/M and the runtime licenses from Ashton Tate. Because they were close, it was always fun to go to their offices for "training" sessions.

A few years ago I went to the Microsoft museum and everything on display had been in my "arsenal" at one time or another. I thought maybe I should take residence in a display case with all the other dinosaurs.

Tim

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 3
Joined: Wed Oct 26, 2016 06:06 PM

Re: Migrating to Harbour

Posted: Mon Nov 28, 2016 09:27 PM
Tengo una cita en el sat para pagar impuestos de mi negocio.

Continue the discussion