Unprotects previously protected windows such that the formula and dependencies are restored.
UNPROTECTWIN(win)
win |
- |
Optional. One or more Windows. Defaults to the current Window. |
Nothing, the Windows are unprotected and the original Window formula and dependencies are re-established.
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)
unprotectwin(W2)
Re-establishes the original formula and allows W2 to update when W1 changes.
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 PROTECTWIN to remove Window dependencies such that UNPROTECTWIN can restore them.