BUG: FoxPro for Unix Reports an Error for the Wrong LineLast reviewed: January 16, 1996Article ID: Q142316 |
The information in this article applies to:
SYMPTOMSWhile you run a .prg file, an error is reported but a line that did not cause the error is highlighted.
CAUSEThis behavior occurs only under very specific, but difficult to predict circumstances. The .prg file is divided into 512 byte blocks. This causes the line numbering to be thrown off by one every time the last byte in a block is the carriage return character: CHR(13).
WORKAROUNDUse one of the following methods to correct the problem:
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 INFORMATIONWhile you run a FoxPro program, if a line of code causes an error, that line is highlighted when the error message is displayed. In some cases, however, the line preceeding the line that caused the error is highlighted. For example, a "?" command on line #2 produces an "Unrecognized command verb" error. When the error message is displayed, Line #1 will be highlighted instead of Line #2. You may also notice that when running Debug, FoxPro does not run the highlighted line. This type of error may come and go as lines in the effected .prg file are edited.
|
Additional reference words: 2.60 FoxUnix buglist2.60
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |