DADiSP Worksheet Functions > Function Categories > Data Manipulation and Editing > : (Window Assignment)

 

: (Window Assignment)

Purpose:

Assigns a formula to a Window.

Syntax:

Window : <formula>

Window

-

A window

<formula>

-

Any formula evaluating to a series or table.

Returns:

Nothing, the formula is assigned to the Window.

Example:

W1 : gnorm(1000,1)

W2 : integ(W1)

 

assigns the Window formulae to W1 and W2.

Remarks:

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.

See Also:

:=

=

==

SETHOTVARIABLE

SETVARIABLE

SETWFORM