hi, i have an array of serial numbers... how do i search the array for serial number that is = -1 i want to find the first -1 value and make that my current position?
There is no "first" for a 2D array unless you decide on an order in which to search dimensions.
Easiest would be to reshape the 2D array into a 1D array with a lenght corresponding th the product of the sizes, then use "search 1D array" and calculate the 2D indices from the 1D indices (hint quotient&remainder). 🙂