AFAIK FPD does not support named expressions such as USE (depfile) Does this work? Use deposits
Or try this: Use &depfile Paul Newton -----Original Message----- From: ProfoxTech [mailto:[email protected]] On Behalf Of John R. Sowden Sent: 23 September 2014 05:26 To: [email protected] Subject: fp/dos strange error The computer is running freedos/4dos via a multiboot (linux/dos). I have a billing program that evolved from dBASE II in 1981, and has had few changes in the last year. I have a line: use (depfile) and am getting an error: Error 12, Variable 'D' not found. There is no variable D (I rarely use 1 character variables). The code that heads up to "(depfile)" is: depfile='deposits' && deposits.dbf is the payments file if (file(depfile+'.DBF') .and. file(depfile+'.CDX')) select 3 use depfile) <------- this is the error line set order to depositno else wait window 'The Database files cannot be found, exiting program' * the line above never shows, as the program has already crashed endif Again, no recent changes, certainly not in this area. I am on a network. The program is designed to go to different drives based on whichever computer it is running on. I do this by reading environment variables, and assigning those for 'local drive' and "net drive", but all of this was designed in the '90s. help? John [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

