But I am obviously wrong as I get a syntax error on the P[0]=high[highndx] . Pretty certain the problem has something to do with pointers. This hsa to be something stupid that I have missed because it it too stupid. Certainly you can move an array value to an array value. Thanks P edit where error is.
Last edited by Pork; 08/26/1318:20.
Re: Stuck in the Series again!
[Re: Pork]
#428387 08/26/1318:4108/26/1318:41
I been looking at this tooo long. There is only one loop, so it has to be infinite, but I don't see it. Break should exit the for when the condition matches. so either the condition will never match or i will never be equal to loopback. P
Re: Stuck in the Series again!
[Re: Pork]
#428393 08/26/1319:2208/26/1319:22
Thanks All, Appreciate the help. The LOOKBACK being a flag was not a problem I was thinking about. Good to know there is an option. Changing code feverisly I seem to struggle with some of the more simple concepts of C. P