PRB: "Syntax Error" When Using the GETDIR() FunctionID: Q129228 3.00 WINDOWS kbprg kbprb The information in this article applies to:
SYMPTOMSCalling the GETDIR() function returns a "Syntax Error" in Visual FoxPro version 3.0. It did not return any error in FoxPro for versions 2.x for Windows.
CAUSEThree parameters are used when the GETDIR() function is called. For example, if the following command is issued, the "Syntax Error" message is displayed:
Although this syntax was incorrect in previous versions of FoxPro, an error
message was not returned. The GETDIR() function accepts only two
parameters.
WORKAROUNDCorrect the command to use only two parameters:
STATUSThis behavior is by design. Additional reference words: 3.00 VFoxWin KBCategory: kbprg kbprb KBSubcategory: FxprgGeneral
|
Last Reviewed: May 1, 1996 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |