DADiSP Worksheet Functions > Function Categories > Query Functions > CHILDREN

 

CHILDREN

Purpose:

Returns the Window numbers that depend on a specified Window, i.e. the children Windows.

Syntax:

CHILDREN(win)

win

-

Optional. A Window, defaults to the current Window.

Returns:

A series or message.

Example:

W1: {2, 4, 5}
W2: grand(length(W1), .1)
W3: xyplot(W1, W2)

children(W1)

 

displays a message that W1 has two dependent Windows.

Example:

W1: {2, 4, 5}
W2: grand(length(W1), .1)
W3: xyplot(W1, W2)

c = children(W1)

 

c == {3, 2} indicating that W3 and W2 depend on W1.

Remarks:

If a Window has no children (i.e. no dependent Windows), the assignment form returns an empty series

See Also:

PARENTS