ITEMPROCESS

Purpose:

Sets the item processing mode of a series.

Syntax:

ITEMPROCESS(series, mode)

series

-

Optional. A series, the target series. Defaults to the current Window.

mode

-

Optional. An integer, the item process mode. If not specified, returns the current mode.

0:

do not process items

1:

process items

Returns:

An integer, the item process mode.

Example:

W1: gsin(100, 1/100);overlay(gcos(100, 1/100))

W2: gsin(100, 1/100);overlay(gcos(100, 1/100))

W3: W1*W1

W4: itemprocess(W2, 1);W2*W2

 

W1 and W2 contain a sine series with an overlayed cosine series. Both windows contain 2 items, the primary series and the overlayed series. W3 computes the square of the primary series in W1. W4 computes the square of the primary series and overlayed series of W2.

Remarks:

Normal worksheet computations of windows operate on the primary series only. ITEMPROCESS allows operations to be extended to all items within a window, including overlays and overplots.

 

ITEMPROCESS with no mode argument returns the current itemprocess mode of the input series or current window.

See Also:

GETITEM

ITEMCOUNT

ITEMTYPE

ITERATE

STRIPCHART