PARENTS

Purpose:

Returns the Window numbers the specified Window depends on, i.e. the parent Windows.

Syntax:

PARENTS(win)

win

-

Optional. A Window, defaults to the current Window.

Returns:

A series or message.

Example:

W1: gsin(1000,.1)
W2: grand(length(W1), .1)
W3: spectrum(W1 + W2)

 

parents(W3)

 

displays a message indicating that W3 has two parent Windows, W1 and W2.

Example:

W1: gsin(1000,.1)
W2: grand(length(W1), .1)
W3: spectrum(W1 + W2)

 

p = parents(W3)

 

p == {2, 1} indicating that W2 and W1 are parents of W3.

Remarks:

If a Window has no parents (i.e. does not depend on other window), the assignment form returns an empty series

See Also:

CHILDREN