Microsoft KB Archive/105152

{| = FIX: IF Command with No Logical Expression Causes GP Fault =
 * width="100%"|

ID: Q105152

2.50 WINDOWS

The information in this article applies to:


 * Microsoft FoxPro for Windows, version 2.5

SYMPTOMS
Running Beautify on a program containing an IF command that does not have a logical expression causes the following general protection (GP) fault:

FOXPROW caused a General Protection Fault in  module FOXDOC.FLL at 0002:0DEF

STATUS
Microsoft has confirmed this to be a problem in FoxPro 2.5 for Windows. This problem was corrected in FoxPro 2.5a for Windows.

Steps to Reproduce Problem
1. Create and run a program with the following code:

IF        WAIT WINDOW "True statement" ELSE WAIT WINDOW "False statement" ENDIF 2. From the Program menu, choose Beautify. 3. From the Beautification Options dialog box, choose the Beautify

button. A GP fault occurs. Additional reference words: FoxWin 2.50 buglist2.50 fixlist2.50a errmsg err msg GPF unrecoverable application error UAE KBCategory: KBSubcategory: FxtoolFoxdoc

Keywords         : kberrmsg FxtoolFoxdoc Version          : 2.50 Platform         : WINDOWS Solution Type    : kbfix
 * }