CATALOG.APP Doesn't Reduce Available READ Levels

ID: Q114656

2.60    | 2.60
WINDOWS | MS-DOS kbprg

The information in this article applies to:

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.

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

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

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

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

   Run.

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

      RDLEVEL: 0

9. 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
Keywords          : FxtoolCatman 
Version           : 2.60    | 2.60
Platform          : MS-DOS WINDOWS

Last Reviewed: May 1, 1996