The macrocompiler throws an "XSharp.Error: Variable does not exist" when trying to macro compile a "dbfname.fieldname" expression
// FoxPro dialect
FUNCTION Start( ) AS VOID
LOCAL cDbf AS STRING
cDbf := "c:\test\macrotest"
DbCreate( cDbf, {{"FLD1","C",10,0}},"DBFVFP")
DbUseArea(TRUE,"DBFVFP",cDbf, "macrotest")
DbAppend()
FieldPut(1, "test")
? macrotest.FLD1 // test, OK
? &("macrotest->FLD1") // test, OK
? &("macrotest.FLD1") // XSharp.Error: Variable does not exist: macrotest
The macrocompiler throws an "XSharp.Error: Variable does not exist" when trying to macro compile a "dbfname.fieldname" expression