Use shift registers on For Loops and While Loops to transfer values from one loop iteration to the next.
Complete the following steps to create a shift register.
You can use multiple shift registers to remember iteration values and you can use an initialized shift register to reset the initial value of a shift register.