GETFOCUS

Purpose:

Returns an integer corresponding to number of the curve in focus in the specified Window.

Syntax:

GETFOCUS(win)

win

-

Optional. A window, defaults to the current Window.

Returns:

An integer.

Example:

W1:gsin(100,.01);overlay(grand(10,5),LRED);focus(2)

getfocus(W1)

 

returns the value 2; the light red series of random noise is in focus.

Remarks:

GETFOCUS is useful when maneuvering in Windows with many overlayed series.

See Also:

FOCUS

OVERLAY

SCALES