PRB: Syntax Error on RELEASE WINDOW CommandLast reviewed: June 27, 1995Article ID: Q126233 |
The information in this article applies to:
SYMPTOMSA "Syntax Error" occurs on the RELEASE WINDOW command.
CAUSEThe window name that is being released begins with a number.
RESOLUTIONEnsure that all window names begin with a letter or an underscore.
MORE INFORMATIONIn the Help for the DEFINE WINDOW Command, the following rules are stated for naming windows:
Window names can be up to 10 characters long. They must begin with a letter or underscore. They cannot begin with a number. They can contain any combination of letters, numbers, and underscores. Steps to Reproduce BehaviorType the following commands in the Command window:
MODIFY FILE 123456.txt WAIT WINDOW WONTOP() && should return '123456.TXT' (without quotes) RELEASE WINDOW (WONTOP()) && causes a "Syntax error" RELEASE WINDOW 123456.TXT && causes a "Syntax error"To close this window, the command CLOSE ALL can be issued.
REFERENCESMicrosoft FoxPro Help, "DEFINE WINDOW Command".
|
Additional reference words: FoxWin FoxDos FoxMac FoxUnix 2.60a
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |