Function codes

The function code determines the action of the scramble exit. The initialization and termination calls are once for each field. The scramble calls are once for each instance. If a field is an array, then the exit is called for each element of the array.