Razzputan [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=62166 help with wrap around tables <p>hello i am hoping the answer is pretty straight forward and im to tired to realize it right now, but i have a table with 5 values and i would like to do something like </p> <p>table={1,2,3,4,5}</p> <p>if btnp(X) then table[i+1]</p> <p>but also have it wrap back to 1 if the table index reaches the length of the table. </p> <p>essentially a (for I=1,#table do) but only progresses if I press a button</p> https://www.lexaloffle.com/bbs/?tid=51056 https://www.lexaloffle.com/bbs/?tid=51056 Sun, 08 Jan 2023 17:54:44 UTC