Re: [Harbour] Re: field->&("name") in a macro

2010-03-24 Thread Viktor Szakáts
>> --- >> DBCREATE( "aa.dbf", { { "DACC", "C", 10, 0 } } ) >> >> use aa.dbf alias aa new >> DBAPPEND() >> aa->DACC := "hello" >> ? "aa->DACC :", aa->DACC >> ? 'aa->&("DACC") :', aa->&("DACC") >> --- >> >> --- >> LOCAL _HMG_SYSDATA >> Public&mVar. := Len(_HMG_SYSDATA [ 66 ]) + 1 >> --- >> >> Dou

[Harbour] Re: field->&("name") in a macro

2010-03-24 Thread pete_westg
στις 24/03/2010 12:01, O/H Viktor Szakáts έγραψε: WORKING - C:\DEV\Harbour\Mytests>hbrun tst.prg aa->DACC : hello aa->&("DACC") : hello Press any key to continue... C:\DEV\Harbour\Mytests> NOT WORKING - C:\DEV\Harbour\Mytes

Re: [Harbour] Re: field->&("name") in a macro

2010-03-24 Thread Viktor Szakáts
> WORKING - > C:\DEV\Harbour\Mytests>hbrun tst.prg > > aa->DACC : hello > aa->&("DACC") : hello > Press any key to continue... > C:\DEV\Harbour\Mytests> > > NOT WORKING - > C:\DEV\Harbour\Mytests>hbmk2 tst.prg > hbmk2: Proces

[Harbour] Re: field->&("name") in a macro

2010-03-24 Thread pete_westg
στις 21/03/2010 20:31, O/H Przemysław Czerpak έγραψε: On Sun, 21 Mar 2010, Alexandr Okhotnikov wrote: Hi Example! FUNC MAIN() DBCREATE( "aa.dbf", { { "DACC", "C", 10, 0 } } ) use aa.dbf alias aa new DBAPPEND() aa->DACC := "hello" ? "aa->DACC :", aa->DACC ? 'aa->&("DACC") :', aa->&("DACC") RE

Re: [Harbour] Re: field->&("name") in a macro

2010-03-21 Thread Alexandr Okhotnikov
Hi 2010/3/21 francesco perillo : >> And since change in more than 800 files? > > I don't know your source code but you wrote: > func xxx( name ) > local b := &( "{|| field->&('" + name + "') }" ) > return eval( b ) > > so I understand that in your 800 files there are several calls like: > bGet =

Re: [Harbour] Re: field->&("name") in a macro

2010-03-20 Thread francesco perillo
> And since change in more than 800 files? I don't know your source code but you wrote: func xxx( name ) local b := &( "{|| field->&('" + name + "') }" ) return eval( b ) so I understand that in your 800 files there are several calls like: bGet = xxx( "surname" ) It this is the actual situation,

Re: [Harbour] Re: field->&("name") in a macro

2010-03-20 Thread Alexandr Okhotnikov
Hi And since change in more than 800 files? there is a simpler solution? In PRG everything compiles and runs fine 2010/3/21 Angel Pais : > xVar := (cAlias)->(FieldGet(FieldPos('name'))) > > HTH > Angel > > ___ > Harbour mailing list (attachment size l

[Harbour] Re: field->&("name") in a macro

2010-03-20 Thread Angel Pais
xVar := (cAlias)->(FieldGet(FieldPos('name'))) HTH Angel ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour