in reply to Re: Untillian Headache or about the semantic of until
in thread Untillian Headache or about the semantic of until
Oddly enough, the $wheel < 0 may be unnecessary even if it does aid in clarification.
Only in the case of the odometer 'turning over' will $wheel go negative. When $wheel is -1, $odometer[ $wheel ] will be the same as $odometer[ $#odometer ], which will have already been set to 0.
... of course relying on this in your code will piss off your maintainers.
TJD
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Untillian Headache or about the semantic of until
by BrowserUk (Patriarch) on Feb 12, 2013 at 22:38 UTC |
In Section
Meditations