Fixed variable not declared before use.

The variable `max` was not declared before use in demonstrating how for loops work over ranges.  It has been added on line 155 and set to a value of 5
This commit is contained in:
Mike Shlanta 2019-05-01 12:39:29 -05:00 committed by GitHub
parent 2dde374091
commit 3bc441d466
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -152,7 +152,7 @@ while (condition) {
... ...
} }
my $max = 5;
# for loops and iteration # for loops and iteration
for my $i (0 .. $max) { for my $i (0 .. $max) {
print "index is $i"; print "index is $i";