Suppose that you want to loop a specified number of times. For this you need a while statement, as in this example.
countis less than 5. For a list of the available operators see Section 10.1 or the man pages.
The box size for the smoothing is evaluated in an expression
@ box = $box - $count * 2. Note the
space between the
@ and the variable, and the spaces around the
=. Thus the box sizes will be 21, 17,
11, 3. Further details are in Section 10.1. You should also give the variable a value with set
before assigning it an expression. Another expression increments the counter
NDF called tempndf is overwritten for each smooth using the standard UNIX command