BUG: "Missing )" Error Message Produced by Valid ExpressionID: Q131218 The information in this article applies to:
SYMPTOMSA "Missing )" error message is produced when a valid expression is used with an ON routine such as ON ERROR or ON KEY LABEL.
CAUSEThe algorithm that parses expressions used with an ON routine cannot parse expressions that exceed 255 characters in length.
RESOLUTIONRearrange the code so that a short expression is placed after the ON routine. For example, instead of this:
restructure the statement so a function that contains the code is called:
See the "Steps to Resolve Problem" section in this article for an example.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce Problem1. Create the following procedures and functions inside a file called 2. Place the following code in a file called ESTART.PRG:
3. In the Command window, type:
You may receive the following error message when executing "DO estart" or
when the "x" is entered into the command window:
Steps to Resolve Problem1. Rearrange the code as follows to avoid the error. Modify the code in 2. In the Command window, type:
Additional reference words: FoxWin 2.60a buglist2.60a
KBCategory: kbprg kbbuglist kbnetwork
KBSubcategory: FxprgMultiuser
|
|
Last Reviewed: June 27, 1995 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |