Assigns a formula to a hot variable or Window.
variable := <formula>
A hot variable or Window
Any formula evaluating to a scalar, series, table or string.
Nothing, the formula is assigned to the hot variable.
a := 5
b := a * a
a := 10
W1 := gnorm(1000,1)
W2 := integ(W1)
assigns the formulae to W1 and W2.
See the = operator to perform a standard variable assignment. Standard variables do not propagate changes.
Use () to group multiple statements for a hot variable assignment in an SPL routine. For example:
W1 := (integ(gnorm(1000,1));label("Test Data"));
The setw1() routine assigns the formula:
to Window 1 just as if the formula was entered from the command line.
The : and := operators are interchangeable for Window assignments.
See == to compare two expressions.