next up previous contents index
Next: INT Up: A Function Reference Previous: IF

INIT

 

Syntax: @INIT(X1, X2)

X1 = initial value
X2 = iterative or subsequent value

@INIT returns its first argument on the first recalculation pass and its second argument on all subsequent recalculation passes when NExS is performing iterative recalculations.

Examples:

C5 = @INIT(1, C5+1) C6 = @INIT(1, C5*C6)

C5 = Cycle! if Iteration Limit = 0 C5 = N if Iteration Limit = N

C6 = Cycle! if Iteration Limit = 0 C6 = N! if Iteration Limit = N


next up previous contents index
Next: INT Up: A Function Reference Previous: IF

NExS User's Guide, Version 1.4.5
Grey Trout Software
11 April 1999