ISWINEMPTY

Purpose:

Returns 1 if the Window does not contain a series or array.

Syntax:

ISWINEMPTY(win)

win

-

Optional. A Window to test, defaults to the current Window.

Returns:

An integer, 1 if the Window does not contain a series, including an empty series, else 0.

Example:

W1: gnorm(100, 1)

W2: {}

 

iswinempty(w1) == 0

iswinempty(w2) == 0

 

clear w1

 

iswinempty(w1) == 1

Remarks:

ISWINEMPTY returns 1 if a window does not contain a series, including an empty series.

See Also:

ISEMPTY

ISEQUAL

ISWINDOW

WINSTATUS