ISWINDOW

Purpose:

Returns 1 if input parameter is a Window.

Syntax:

ISWINDOW(val)

val

-

A series, scalar or string value to test.

Returns:

1 if the input is a window or window reference, else 0.

Example:

iswindow(W1)

 

returns 1

Example:

iswindow(W1 + 1)

 

returns 0 because the input is a series and not a window.

Example:

win = refwindow(w1)

iswindow(win)

 

returns 1 because the input refers to a window.

Remarks:

If the input is not a window or a window reference,  iswindow returns 0.

See Also:

ISARRAY

ISCOMPLEX

ISNUMERIC

ISREAL

ISSCALAR

ISSTRING

ISWINEMPTY

ISXY

ISXYZ