|
-
February 17th, 2012, 05:26 PM
#12
Re: Writing a complex loop
If you could find a way to explain what you want to do maybe we could help.
All of your examples so far show single digits.
Now you do realize that if you want to display all possible values in the manner you described from an array of 20 elements each with a value that could be 10 or more that your loop is going to take a very very long time just to list the results and it is going to be far to much for any user to absorb from looking at it.
Just to do this
9, 9, 9, 9, 9, 9, 9, 9, 9, 9
would take longer than most people would be willing to wait and that is if your loop is fast and simple. It is after all going to take 10 billion cycles of the loop
Always use [code][/code] tags when posting code.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|