VIEWOBJECT

Purpose:

Displays a list of object properties.

Syntax:

VIEWOBJECT(obj, "title")

obj

-

An object, the object to display.

"title"

-

Optional. A string, the title to display. Defaults to the object name.

Example:

myobj = gnorm(1000, 1);

 

myobj.name = "Test";

myobj.pisq = pi * pi;

myobj.data = 1..10;

 

viewobject(myobj)

 

Creates a simple object named myobj that contains three properties, name, a string, pisq, a real and data, a series. VIEWOBJECT displays the name, type and value for each property.

Remarks:

VIEWOBJECT requires an object with properties.

 

See VIEWVARS to display a modeless list of all current global variables.

See Also:

VIEW

VIEWALLVARS

VIEWFILE

VIEWHTML

VIEWHISTORY

VIEWLOG

VIEWTEXT

VIEWVARS

WHICH