I first thought the same thing as Ikegami until I saw that Axcoord and Axcord are not the same name. Besides the not recommendable style of array transfer to the subroutine your naming convention in this subroutine is highly error prone and leads to confusion.
I don't see any problem with the loop itself. Please add your debugging code to it and what that prints. Maybe you just look at the @Axcord arrays at the wrong index. For example after the loops $counter should be at the last index+1, so naturally $Axcord[$counter] is empty. But $Axcord[$counter-1] probably isn't
In reply to Re: Can call array but not index of an array in subroutine?!
by jethro
in thread Can call array but not index of an array in subroutine?!
by fraizerangus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |