>> ---
>> 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
στις 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
> 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
στις 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
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 =
> 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,
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
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