I'm not looking for a specific answer, but rather, just some clues to get me in the right direction. I have a single dimension array like myarray="1,1,1,0,1,1,1" or myarray="0,1,1,1,1,1,1,1" or even myarray="1,1,1,1,1,1,1".
I am looking for a way to search myarray for any different numbers. In my examples, the first two would find that 0<>1 whereas the third one is all 1's and 1=1.
Are there any commands that might lead me to solving this problem on my own?
Thanks for the suggestions.
I am looking for a way to search myarray for any different numbers. In my examples, the first two would find that 0<>1 whereas the third one is all 1's and 1=1.
Are there any commands that might lead me to solving this problem on my own?
Thanks for the suggestions.