in reply to 36 Conditions in If Statement [sendhelp]]
Just a quick comment on your loops. Using Perl-style loops instead of C-style loops might be slightly easier, for example:
for my $i (0..6) { for my $j (0..6) { $matrix[$i][$j][$_] = 0 for (0..2); } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: 36 Conditions in If Statement [sendhelp]]
by UpTide (Novice) on Feb 04, 2017 at 10:48 UTC | |
by AnomalousMonk (Archbishop) on Feb 04, 2017 at 18:21 UTC | |
by UpTide (Novice) on Feb 07, 2017 at 17:34 UTC | |
by AnomalousMonk (Archbishop) on Feb 07, 2017 at 18:19 UTC | |
by haukex (Archbishop) on Feb 08, 2017 at 08:43 UTC | |
by Laurent_R (Canon) on Feb 04, 2017 at 11:06 UTC |