CATALOG.APP Doesn't Reduce Available READ Levels

Last reviewed: April 30, 1996
Article ID: Q114656
The information in this article applies to:
  • Microsoft FoxPro for Windows, version 2.6
  • Microsoft FoxPro for MS-DOS, version 2.6

SUMMARY

Although the Catalog Manager (CATALOG.APP) is a FoxPro application that uses a READ, it does not reduce the number of READ levels available to other FoxPro programs and applications.

MORE INFORMATION

When you run a program or application, Catalog Manager sets the _SHELL system memory variable to itself (CATALOG.APP), along with the appropriate parameters, and then quits temporarily. The _SHELL system memory variable returns FoxPro to the Catalog Manager when your program or application quits.

For more information about the _SHELL system memory variable, refer to _SHELL in the FoxPro "Language Reference," or see the "_SHELL" topic in online Help.

Steps to Verify

  1. If the Catalog Manager is not displayed, choose Catalog Manager from the File menu.

  2. If you are prompted to choose a catalog, choose New. If a catalog opens automatically (or is already open), choose New Catalog from the File menu.

  3. Save the catalog as TEST.FPC.

  4. Select the Program tab. Choose New, and then choose New Program.

  5. Save the program as TEST.PRG.

  6. Type the following in the TEST.PRG program window:

          WAIT WINDOW "RDLEVEL: " + STR(RDLEVEL())
          WAIT WINDOW "_SHELL: " + _SHELL
    

  7. Close the TEST.PRG program window and save your changes.

  8. Verify that TEST.PRG is selected in the file list area, then choose Run.

  9. When the following appears in a WAIT WINDOW, press ENTER:

          RDLEVEL: 0
    

  10. When a message similar to the following displays in a WAIT WINDOW, press ENTER again. FoxPro returns to Catalog Manager.

          _SHELL = do C:\FPW26\CATALOG.APP with "SHELL", "C:\TEMP\33076703", 0
    


Additional reference words: FoxDos FoxWin 2.60 catman
KBCategory: kbprg
KBSubcategory: FxtoolCatman


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: April 30, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.