_ASSIST

Display Status, List Status

These commands are suitable for use only during development, to let the bewildered developer answer the question, "Where the heck are we?"

Usage
DISPLAY | LIST STATUS         [ TO PRINTER [ PROMPT ]            | TO [ FILE ] cFileName [ ADDITIVE ] ]         [NOCONSOLE]
These can be great commands to help a developer understand what's going on in an application, because they list a ton of information—some of it far more difficult to access programmatically. It's arranged pretty sensibly, although there are obviously a few spots where information was "tacked on" through several versions of the Fox product line. The basic status of all work areas, which is the current database, where record locks are in use, which indexes are in effect, are all covered. A slew of SET commands are shown, as are low-level file handles, textmerge settings and external DLL declarations. We'd like to see this expanded to include more information on which database containers are open, as well.

Example

DISPLAY STATUS TO MyStat  && creates MyStat.TXT

See Also

ADLLs(), Alias(), CDX(), Display and List, DBF(), Tag()


View Updates

Copyright © 2002 by Tamar E. Granor, Ted Roche, Doug Hennig, and Della Martin. All Rights Reserved.



Hacker's Guide to Visual FoxPro 7. 0
Hackers Guide to Visual FoxPro 7.0
ISBN: 1930919220
EAN: 2147483647
Year: 2001
Pages: 899

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net