PROTECTWIN

Purpose:

Protects Windows from propagation such that the original Window formula can be restored.

Syntax:

PROTECTWIN(win)

win

-

Optional. One or more Windows. Defaults to the current Window.

Returns:

Nothing, the Windows are protected and no longer automatically update.

Example:

W1: gnorm(1000, 1)

W2: integ(W1)

protectwin(W2)

 

W1 contains 1000 samples of random noise and W2 performs an integration of the noise. W2 is protected such that if W1 changes, W2 no longer updates. The formula for W2 becomes:

 

Protected: integ(w1)

Example:

unprotectwin(W2)

 

Re-establishes the original formula and allows W2 to update when W1 changes.

Remarks:

A protected Window is removed from the dependency list so that it is no longer dependent on any Window.

 

Unlike PROTECT, PROTECTWIN protects Windows such that UNPROTECTWIN will unprotect the Windows with the original formula.

 

Use UNPROTECTWIN to re-establish the original Window formula and dependencies.

See Also:

CALC

PROTECT

UNPROTECTWIN

UPDATE

WINLOCK