DADiSP Worksheet Functions > Function Categories > Data Manipulation and Editing > : (Window Assignment)
Assigns a formula to a Window.
Window : <formula>
Window |
- |
A window |
<formula> |
- |
Any formula evaluating to a series or table. |
Nothing, the formula is assigned to the Window.
W1 : gnorm(1000,1)
W2 : integ(W1)
assigns the Window formulae to W1 and W2.
Use ()’s to group multiple statements for a Window assignment in an SPL routine. For example:
setw1()
{
W1 : (integ(gnorm(1000,1));label("Test Data"));
}
The setw1() routine assigns the formula:
integ(gnorm(1000,1));label("Test Data")
to Window 1 just as if the formula was entered from the command line.
The : and := operators are interchangeable for Window assignments.