Pretty self-explanatory question. All I want to do is fill an array with a straight line y=x. What I attempted to do was just make a simple counter, and at each step send the number into the left and right inlets of a tabwrite object. Then a spigot is used to make sure the counter stops at some number (will come from another variable but for now is just set to 590,538). Ok, seems really easy but my code got confusing quick and is not working. When I print out the values outputted from the float it starts at 332 and counts down to 0.
I have included the ungodly mess that I put together so far. I am open to easier solutions (I am sure you could do something with [line]) but also want to know what specifically is wrong with this code.
Thanks for the help!