my project dialect is Harbour; I’ve added the following references:
- Enable MEMVAR support
- Enable undeclared variable support
- Implicit casts and conversions
- Treat missing types as USUAL
The pre-processed code shows that the RESTORE FROM command was not translated/substituted.If I manually do so, i.e. replace the “RESTORE FROM” with “MRestore( "BFST")”, the code compiles without error.
Code: Select all
RESTORE FROM ("BFST") ADDITIVE
Question: Is there something I need to do to ensure the memvar.xh include file is pulled in (I tried “ #include memvar.xh”) ?
Long term, I will replace all use of .MEM files with either a single-record table or, as I’ve done with some of the independent modules I’ve converted so far, JSON files. Legacy .MEM files have been a somewhat primitive structure and cause for issues in multi-user environments.