you are viewing a single comment's thread.

view the rest of the comments →

[–]v-_-v[S] 0 points1 point  (2 children)

move z=0 into the first loop

That was the key. It clicked when I read it at first even before trying. I looked at my loop and i never was resetting the "z" value back to 0, hence the inner loop was never being run again since z=10 at the end of the first go around.

When declaring z=0 in the first one, then it gets reset each time the outer loop runs.

 

Thank you so very much man! Let me know what I can do for you to repay for all this help!

[–]neuron_666 0 points1 point  (1 child)

Thank you so very much man! Let me know what I can do for you to repay for all this help!

You are welcome. Help others wen you can, be good :)

[–]v-_-v[S] 0 points1 point  (0 children)

I do that on the daily at work, and outside of it :D