DADiSP Worksheet Functions > Function Categories > Display and Manipulation > CLEARDATA

 

CLEARDATA

Purpose:

Clears the data from one or more Windows without removing Window formulae.

Syntax:

CLEARDATA(W1, W2, ...,  WN)

WN

-

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

Example:

cleardata(W1)

 

clears the data from Window 1 without removing its Window formula.

Example:

cleardata(W1..)

 

clears the data from all Windows in the Worksheet without removing the Window formulas. Save this Worksheet as a compact template. When loaded, use UPDATE to recalculate the Worksheet.

Example:

cleardata; integ(W1)

 

removes the data from the current Window (thus freeing any memory used by the data) and then calculates the integral of W1.

Remarks:

CLEARDATA is useful for creating Worksheet templates by preserving the formulae, but not saving the data of the cleared Windows.

 

CLEARDATA can be helpful during large calculations. DADiSP normally does not remove old data from a Window until a new calculation has completed. Using CLEARDATA, the old data is removed immediately, and more memory is available to perform calculations.

See Also:

CLEAR

CLEARALL

CLEARALLDATA

UPDATE