It depends how you’re using this, but my guess would be that you want to make two different functions. Make sure you also initialize a 0 value for loopCounter2 in the head (or whichever name you choose).
It depends how you’re using this, but my guess would be that you want to make two different functions. Make sure you also initialize a 0 value for loopCounter2 in the head (or whichever name you choose).