Page 16 of 16

Re: Migrating to Harbour

PostPosted: Thu Feb 05, 2015 9:39 am
by Enrico Maria Giordano
Antonio,

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

I'll keep you informed...

EMG

Re: Migrating to Harbour

PostPosted: Thu Feb 05, 2015 11:28 am
by Enrico Maria Giordano
Another Harbour bug. The following sample:

Code: Select all  Expand view
FUNCTION MAIN()

    LOCAL n := "01"

    PRIVATE cVar01 := "Test"

    ? cVar&n

    INKEY( 0 )

    RETURN NIL


gives this compilation error:

Code: Select all  Expand view
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

Re: Migrating to Harbour

PostPosted: Thu Feb 05, 2015 11:35 am
by cnavarro

Re: Migrating to Harbour

PostPosted: Thu Feb 05, 2015 11:41 am
by Enrico Maria Giordano
Cristobal,

thank you. Is this the correct way?

Code: Select all  Expand view
FUNCTION MAIN()

    LOCAL n := "01"

    PRIVATE cVar01 := "Test"

    ? &( "cVar" + n )

    INKEY( 0 )

    RETURN NIL


EMG

Re: Migrating to Harbour

PostPosted: Thu Feb 05, 2015 11:48 am
by cnavarro
Look

Code: Select all  Expand view

MEMVAR cVar01

FUNCTION MAIN()

    LOCAL n := "01"

    PRIVATE cVar01 := "Test"

    ? &( "cVar" + n )

    INKEY( 0 )

    RETURN NIL


 

Re: Migrating to Harbour

PostPosted: Thu Feb 05, 2015 12:01 pm
by Enrico Maria Giordano
Cristobal,

thank you.

EMG

Re: Migrating to Harbour

PostPosted: Fri Feb 06, 2015 5:40 am
by James Bott
Enrico,

Are you still using PRIVATEs?

James

Re: Migrating to Harbour

PostPosted: Fri Feb 06, 2015 10:07 am
by Enrico Maria Giordano
James,

James Bott wrote:Are you still using PRIVATEs?


No, but I have older applications to maintain.

EMG

Re: Migrating to Harbour

PostPosted: Fri Feb 06, 2015 3:33 pm
by James Bott
Enrico,

Thank goodness. You had me worried.

Those older apps must be really old.

James

Re: Migrating to Harbour

PostPosted: Fri Feb 06, 2015 3:40 pm
by Enrico Maria Giordano
James,

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


:-)

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


19xx :-)

EMG

Re: Migrating to Harbour

PostPosted: Fri Feb 06, 2015 11:11 pm
by TimStone
Yeah some of us are getting up there in years.

Re: Migrating to Harbour

PostPosted: Sat Feb 07, 2015 7:48 pm
by Gale FORd
What do you mean getting? dBase II cp/m

Re: Migrating to Harbour

PostPosted: Sat Feb 07, 2015 8:34 pm
by TimStone
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

Re: Migrating to Harbour

PostPosted: Mon Nov 28, 2016 9:27 pm
by KarlaSanchez
Tengo una cita en el sat para pagar impuestos de mi negocio.