Colleagues,
AFAIR, the xBase family accepted the & (ampersand) operator and treated it as a sign of a macro substitution, i.e.
worked just fine. It still does in Visual FoxPro, but I'm having trouble with it in Visual dBase 5.7: whatever I have the memvar for the full path to a DBF named, it ignores that & and treats the memvar as a file name, i.e.
&cFile2Open
becomes
cFile2Op.DBF
that is ignoring & operator and truncating it down to 8 chars (if it's more than 8), and then dBase errs saying
"cFile2Op.DBF not found".
What and/or where I have to look to find the cause of such behavior?
Regards,
Ilya
AFAIR, the xBase family accepted the & (ampersand) operator and treated it as a sign of a macro substitution, i.e.
Code:
cFile2Open = cPath + "MyTable.DBF"
USE &cFile2Open
&cFile2Open
becomes
cFile2Op.DBF
that is ignoring & operator and truncating it down to 8 chars (if it's more than 8), and then dBase errs saying
"cFile2Op.DBF not found".
What and/or where I have to look to find the cause of such behavior?
Regards,
Ilya