LIST OBJECTS Command

Example   See Also

Continuously displays information about an object or a group of objects.

Syntax

LIST OBJECTS
  [LIKE cObjectSkeleton]
  [TO PRINTER [PROMPT] | TO FILE FileName]
  [NOCONSOLE]

Arguments

LIKE cObjectSkeleton

Displays information about a subset of objects. cObjectSkeleton is an object specification skeleton that supports wildcards (* and ?). For example, to continuously display all objects that begin with A, use the following command:

LIST OBJECTS LIKE A*

TO PRINTER [PROMPT]

Directs output from LIST OBJECTS to a printer.

You can include the optional PROMPT clause to display a Print dialog box before printing starts. Place the PROMPT keyword immediately after TO PRINTER.

TO FILE FileName

Directs output from LIST OBJECTS to the disk file specified with FileName. If the file already exists and SET SAFETY is ON, Visual FoxPro displays a prompt asking if you want to overwrite the file.

NOCONSOLE

Suppresses output to the main Visual FoxPro window or to the active user-defined window.

Remarks

LIST OBJECTS displays the following information about all existing objects:

LIST OBJECTS fills the entire main Visual FoxPro window without pausing.