DADiSP Worksheet Functions > Function Categories > Series Processing Language (SPL) > ITEMPROCESS
Sets the item processing mode of a series.
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.
|
An integer, the item process mode.
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.
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.