ADDWFORM

Purpose:

Adds to the formula in the Window without causing a complete re-evaluation.

Syntax:

ADDWFORM(win, "formula")

win

-

Optional. Window reference. Defaults to current Window.

"formula"

-

A string, any valid formula. A formula can be any command, function, or macro. The following are examples of valid formula types:

1.

An expression evaluating to a series or scalar, e.g. "W1*W1"

2.

Commands that return nothing but manipulate a series or Window display, e.g. "EXPANDH(2)", "FPEAK", "CURSORON", or "PLOTMODE(0)".

3.

user-defined functions or macros, e.g. AUTOCOR

Example:

W1: gnorm(1000,1)

W2: W1*W1

addwform(W2,"overplot(W1,lred)")

 

This example adds the overplot and sets the Window's formula to W1*W1;overplot(W1, lred) without re-evaluating the formula W1*W1.

Remarks:

This function is useful when editing the formula line would cause an unwanted or lengthy recalculation. ADDWFORM can be abbreviated ADDWF.

See Also:

:= (Hot Variable Assignment)

ADDWKSFORM

GETWFORMULA

SETWFORM