Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Arbitrarily Nested Loops

by thor (Priest)
on Feb 03, 2006 at 12:17 UTC ( [id://527729]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Arbitrarily Nested Loops

When the leftmost dial reaches its maximum number
Maybe you meant to say when all the dials reach their respective maxima? Consider two dials, each ranging from 0 to 2. By your original statement, you'd get the following:
0,0
0,1
0,2
2,0
In this, you've missed two combinations ( (2,1) and (2,2) ). I'm sure it was just a type or a mind-o, though. :)

thor

The only easy day was yesterday

Replies are listed 'Best First'.
Re^2: Arbitrarily Nested Loops
by Limbic~Region (Chancellor) on Feb 03, 2006 at 12:35 UTC
    thor,
    No, but there is a typo. The word reaches should have read exceeds. Thanks, I will update the original.

    Cheers - L~R

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://527729]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.