in reply to Re^4: resetting a foreach loop!
in thread resetting a foreach loop!
"If no return is found [and] the last statement is a loop control structure like a foreach or a while , the returned value is unspecified. ..."
Does this apply to if-blocks? I don't think of if as a "loop control" structure.
Give a man a fish: <%-{-{-{-<
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: resetting a foreach loop!
by ikegami (Patriarch) on Nov 18, 2017 at 00:07 UTC | |
by AnomalousMonk (Archbishop) on Nov 18, 2017 at 00:43 UTC | |
by pryrt (Abbot) on Nov 18, 2017 at 02:11 UTC | |
by AnomalousMonk (Archbishop) on Nov 18, 2017 at 20:26 UTC |