@Yamaeda wrote: You are getting 'only the last ref out'. If you don't want to do the stuff in the loop, disable or put it in a case.
Getting the last value at the end of the loop was the "requirements", other things happen in the other iterations. I have given up of the "why???" long ago in this thread. It's like watching somebody using chopsticks to fold a shirt. 😮
If that's what they wanna do, i'll give some tips on how to do crotching with chopsticks. 😄