DO Command Searches More Than Just the Main Program

Last reviewed: June 27, 1995
Article ID: Q100813
The information in this article applies to:

  - Microsoft FoxPro for Windows, versions 2.5 and 2.5a
  - Microsoft FoxPro for MS-DOS, versions 2.5 and 2.5a

On Page L3-465 of the FoxPro "Language Reference" manual, the description of the DO command incorrectly states:

   When you issue DO in a procedure within an executable version or
   an application, only the main program of the executable version
   or application is searched for the specified procedure.

This statement should be removed. If a procedure file has been defined using the SET PROCEDURE statement, the procedure file will be searched for the specified procedure. The executable or application will also look through the files that have been included in the project for a file by that name.

Microsoft has confirmed that this documentation error occurs on Page L3-465 of the FoxPro "Language Reference" manual.


Additional reference words: FoxDos FoxWin 2.50 2.50a docerr
KBCategory: kbprg kbdocerr
KBSubcategory: FxprgGeneral


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: June 27, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.