Is there an easy way to find first and last entries of a vector which is non zero?
while x[i]<>1 do
That does not work. I have also tried to use
while 'x'[i]<>1 do
keeps getting error saying: Error, (in fa) bad index into Vector
What's the best way to get result 1 (in this case...