# BUG: FoxDoc Displays "Variable 'FD_PRTOPTS' Not Found" Error

ID: Q120838

2.50a 2.50b 2.60a MACINTOSH

The information in this article applies to:

- Microsoft FoxPro for Macintosh, versions 2.5b, 2.5c, 2.6a

## SYMPTOMS

FoxDoc displays one of the following error messages in a WAIT WINDOW:

- In FoxPro 2.5x for Macintosh:

            API Library not found.

  -or-

- In FoxPro 2.6a for Macintosh:

            File 'FOXDOC.PRG' does not exist.

Then FoxDoc displays the following error message in a Program Error dialog box:

       Variable 'FD_PRTOPTS' not found

## CAUSE

There is insufficient memory to run FoxDoc. FoxPro needs approximately 3500K of available memory to run FoxDoc.

## STATUS

Microsoft 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 Problem

1. Reduce the memory available to FoxPro to less than 3500K. To do this,

       start other Macintosh programs, use the Memory Control Panel to turn
       off Virtual Memory, or create a RAM disk.

       NOTE: Choose About This Macintosh from the Apple menu to check how much
       memory is available (Largest Unused Block).

2. When less than 3500K of memory is available, start FoxPro.

3. In the Command window, type "MODIFY COMMAND test" (without the

       quotation marks).

4. In the TEST.PRG editing window, type the following:

       WAIT WINDOW 'In test'

5. Close the editing window, and save changes.

6. From the Program menu, choose FoxDoc.

7. Choose the Main File button. In the resulting dialog box, select

       TEST.PRG. Then choose Open.

8. Choose the Data Folder button. In the resulting dialog box, choose

       Select.

9. Choose the Output Folder button. In the resulting dialog box, choose

       Select. Then choose the Generate button.

At this point, you should see one of the following errors in the WAIT WINDOW:

       API Library not found.

       -or-

       File 'FOXDOC.PRG' does not exist.

Then you'll see the "Variable 'FD_PRTOPTS' not found" error message.

Additional reference words: FoxMac 2.50b 2.50c 2.60a mac errmsg err msg buglist2.50b buglist2.50c buglist2.60a KBCategory: KBSubcategory:

    Keywords          : kberrmsg
    Version           : 2.50a 2.50b 2.60a
    Platform          : MACINTOSH

Last Reviewed: May 21, 1998 © 1999 Microsoft Corporation. All rights reserved. Terms of Use.