great! Now I can go on with my tests!
![Smile :-)](./images/smilies/icon_smile.gif)
I'll keep you informed...
EMG
Code: Select all | Expand
FUNCTION MAIN()
LOCAL n := "01"
PRIVATE cVar01 := "Test"
? cVar&n
INKEY( 0 )
RETURN NIL
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.
Code: Select all | Expand
FUNCTION MAIN()
LOCAL n := "01"
PRIVATE cVar01 := "Test"
? &( "cVar" + n )
INKEY( 0 )
RETURN NIL
Code: Select all | Expand
MEMVAR cVar01
FUNCTION MAIN()
LOCAL n := "01"
PRIVATE cVar01 := "Test"
? &( "cVar" + n )
INKEY( 0 )
RETURN NIL
James Bott wrote:Are you still using PRIVATEs?
James Bott wrote:Thank goodness. You had me worried.
James Bott wrote:Those older apps must be really old.