PRB: "Unrecognized Phrase/Keyword..." with Macro SubstitutionID: Q110128 2.50b 3.00b MACINTOSH kbprg kbprb The information in this article applies to:
SYMPTOMSWhen you use macro substitution with a filename that contains spaces, the error message "Unrecognized phrase/keyword in command" occurs.
CAUSEThe Macintosh file system allows filenames to have spaces. This feature can cause errors in programs that use macro substitution and don't allow for spaces. Macro substitution in FoxPro is direct text substitution. Consider the following code:
This code is exactly equivalent to the following USE command:
However, this USE command isn't valid because FoxPro thinks the filename is
MAC and doesn't understand what HD:FOXPRO:DATABASE is supposed to be.
RESOLUTIONTo work around this problem, do one of the following:
|
Last Reviewed: May 21, 1998 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |