in reply to (jeffa) Re: Sharing a variable between subroutines
in thread Sharing a variable between subroutines

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

  • Comment on Re: (jeffa) Re: Sharing a variable between subroutines