Migrating to Harbour
- Enrico Maria Giordano
- Posts: 8738
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Has thanked: 1 time
- Been thanked: 2 times
- Contact:
- Enrico Maria Giordano
- Posts: 8738
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Has thanked: 1 time
- Been thanked: 2 times
- Contact:
Re: Migrating to Harbour
Another Harbour bug. The following sample:
gives this compilation error:
While xHarbour compiles correctly.
Any ideas?
EMG
Code: Select all | Expand
FUNCTION MAIN()
LOCAL n := "01"
PRIVATE cVar01 := "Test"
? cVar&n
INKEY( 0 )
RETURN NIL
gives this compilation error:
Code: Select all | Expand
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
Enrico, look
viewtopic.php?f=3&t=29959&start=0
viewtopic.php?f=3&t=29959&start=0
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
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
- Enrico Maria Giordano
- Posts: 8738
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Has thanked: 1 time
- Been thanked: 2 times
- Contact:
Re: Migrating to Harbour
Cristobal,
thank you. Is this the correct way?
EMG
thank you. Is this the correct way?
Code: Select all | Expand
FUNCTION MAIN()
LOCAL n := "01"
PRIVATE cVar01 := "Test"
? &( "cVar" + n )
INKEY( 0 )
RETURN NIL
EMG
Re: Migrating to Harbour
Look
Code: Select all | Expand
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
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
- Enrico Maria Giordano
- Posts: 8738
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Has thanked: 1 time
- Been thanked: 2 times
- Contact:
- James Bott
- Posts: 4840
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
- Enrico Maria Giordano
- Posts: 8738
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Has thanked: 1 time
- Been thanked: 2 times
- Contact:
Re: Migrating to Harbour
James,
No, but I have older applications to maintain.
EMG
James Bott wrote:Are you still using PRIVATEs?
No, but I have older applications to maintain.
EMG
- James Bott
- Posts: 4840
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: Migrating to Harbour
Enrico,
Thank goodness. You had me worried.
Those older apps must be really old.
James
Thank goodness. You had me worried.
Those older apps must be really old.
James
- Enrico Maria Giordano
- Posts: 8738
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Has thanked: 1 time
- Been thanked: 2 times
- Contact:
Re: Migrating to Harbour
James,
19xx
EMG
James Bott wrote:Thank goodness. You had me worried.
James Bott wrote:Those older apps must be really old.
19xx
EMG
- TimStone
- Posts: 2954
- Joined: Fri Oct 07, 2005 1:45 pm
- Location: Trabuco Canyon, CA USA
- Has thanked: 25 times
- Been thanked: 2 times
- Contact:
Re: Migrating to Harbour
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
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
- TimStone
- Posts: 2954
- Joined: Fri Oct 07, 2005 1:45 pm
- Location: Trabuco Canyon, CA USA
- Has thanked: 25 times
- Been thanked: 2 times
- Contact:
Re: Migrating to Harbour
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
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
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 6:06 pm