DislikedIt was probably a mistake declaring LastTime[] as a static double within the function. I have moved this to the general declarations section and set up the array within init(), so it contains values when the function is called for the first time.
We shall see if this deals with the problem. I am fairly sure it is nothing to do with the globals.
Also removed the white line from the tp calculations.
Upload from post 1.
Ignored
- #3,143
- Nov 23, 2009 7:26am Nov 23, 2009 7:26am
- Joined Oct 2008 | Status: Sailing for pips | 2,099 Posts
- #3,155
- Edited Nov 24, 2009 6:27am Nov 23, 2009 10:35am | Edited Nov 24, 2009 6:27am
- Joined Mar 2006 | Status: THANK YOU MERLIN,TWEE and FF Team | 4,603 Posts
- #3,157
- Edited 11:18am Nov 23, 2009 10:57am | Edited 11:18am
- Joined Mar 2006 | Status: THANK YOU MERLIN,TWEE and FF Team | 4,603 Posts