GETITEM

Purpose:

Returns a single item from a Window.

Syntax:

GETITEM(win, item)

win

-

A Window, the source Window.

item

-

Optional. A positive integer, the index to the item in the Window. Defaults to 1.

Returns:

A series, the specified item.

Example:

W1: xy(gnorm(100, 1)*10, gnorm(100, 1))

W2: integ(gnorm(100, 1))

W3: stripchart(w1, w2)

W4: getitem(W3, 1)

W5: getitem(W3, 2)

 

W1 contains an XY series and W2 contains an interval series.

 

W3 combines the two items into a single STRIPCHART.

 

W4 returns the original XY series.

 

W5 returns the original interval series.

Remarks:

An ITEM is a data object comprised of one or more series. For example, an interval series is an item that consists of one series, an XY series is an item that consists of 2 series and an XYZ series is an item that consists of 3 series.

See Also:

COL

ITEMCOUNT

ITEMPROCESS

ITEMTYPE

NUMITEMS

NUMCOLS

STRIPCHART