Subject versatility of the Inspector
From Gaetano <gaetanodd@hotmail.com>
Date Mon, 26 Oct 2020 07:38:08 +1000
Newsgroups dbase.getting-started


Hi All,

While looking at a Help entry recently I realized that the Inspector is
not only available in the designers but also as a standalone command -
inspect(<object>) - that can be used with any object even during program
execution apparently.

I had never heard anyone suggest to use Inspect(), it may be that
everyone knows this and uses it or that it is one of the little known
features of dBase.

I have many time thought about how to get to know all the available
properties or events of an object, especially after someone on the NG's
told me about a property I had no idea existed, and this seems to be the
answer to it.

I tried it on the command line on the _app object and it returned an
inspection window with a variety of info like the character set, iniFile
location, currentUserPath...etc., including a custom property that I had
just created to check if it would be listed.

So is anyone using this regularly? and if so, in what context do you
find it useful?

Cheers,
Gaetano.