I have a project where that I need to add a new NTE in the OBR group, but I don’t want to overwrite any existing NTE’s in that group. How would one approach this in the engine?
You could do something like NTE(1). You can either hardcode the number if you know how many NTE segments there are, or you could use a loop to count and a loop variable to set the number like NTE(%s1).
If yo use the iterate inside an xlate, the %s1 or whatever you define variable will contain the loop count. You can add to it just outside and below the iterate. For example:
math add $%s1 =1 –> $%s1
The $ symbols allows for access to the variables value. Use is on both sides.
just beyond the iterate
copy ‘something’ –> 1(0).0(0).NTE(%s1)….
I beleive the %s1 retains it value unless it is initialized by another iterate statement using %s1 as it variable.