Re: beginner counting question



Hello Purl Gurl.

That not what I meant. I need all the
intermediate values of $count in the
inner loop for generating $name.
Taking your example @Steps I need for

print "i = $i j = $j count = $count\n";

the output like:

i = 1 j = 1 count = 1
i = 1 j = 2 count = 2
i = 2 j = 1 count = 3
i = 2 j = 2 count = 4
i = 2 j = 3 count = 5
i = 2 j = 4 count = 6
i = 3 j = 1 count = 7
i = 3 j = 2 count = 8
i = 3 j = 3 count = 9
i = 3 j = 4 count = 10
i = 4 j = 1 count = 11
i = 4 j = 2 count = 12

Thank you,

Günter

.