Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Arbitrarily Nested Loops

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


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 17: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
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-19 04:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found