Aah, I totally forgot about that pointer-stuff (the arrow-operator)...
I think I'll give this a try. The iteration in the outer sub was just an example.
I have a two-dimensional array, the y-coordinate ("lines") is determined in the "outer" subroutine and the x-coordinate ("columns") is worked on in the called "inner" subroutine.
This makes the code more readable IMO.
Thanks to everyone who bothered to help me and have a happy new y2k2 all!
Micha