nosort

nosort in process definition, contextual keyword

The nosort contextual keyword marks a user-defined process as order-independent. Such a process is called without specifying a sort or scan option. Such a process cannot declare keep variables.

def nosort process mySquaredSum(x : number) with
  y  = sum(x)
  return y^2

table T = extend.range(3)

x = mySquaredSum(T.N) // no 'sort' required here

show scalar "Squared Sum" a1b1 with x // 36
User Contributed Notes
0 notes + add a note