VIEWVARS

Purpose:

Displays a list of the current global variables.

Syntax:

VIEWVARS

Returns:

Nothing, a modeless list of the current global variables is displayed

Example:

a = 10;

b = sqrt(-5)

c = version();

myobj = gnorm(1000, 1);

 

myobj.name = "Test";

myobj.pisq = pi * pi;

myobj.data = 1..10;

 

viewvars

 

Creates a 4 variables named a, b, c, and myobj. VIEWVARS displays the name, type and value of each variable.

Remarks:

The variable list is modeless and will automatically update as variables are created and cleared.

 

VIEWVARS does not display variables that begin with an underscore (i.e. _myvar). Use VIEWALLVARS to display all variables.

 

See VIEWOBJECT to display a single variable or window.

See Also:

VIEW

VIEWALLVARS

VIEWFILE

VIEWHTML

VIEWHISTORY

VIEWLOG

VIEWOBJECT

VIEWTEXT

WHICH