BobD Guru Joined: 07/12/2011 Location: AustraliaPosts: 935
Posted: 04:26am 13 Mar 2012
Andy
I wouldn't have thought that the revised TC stuff was over the hump material. Are you struggling with free memory?
What problems do you have now?
The exponent in the altitude calculation may run into loss of accuracy problems. It will probably get truncated. I would be inclined to use 0.1903 instead. Just looked at your code and you are already there. I'm no help there.
If you need a way to look at your intermediate results you could try this bit of code
SUB Wait
? +++++++++++++++++++++
? ' print any variables that may be important
? " Press any key to continue > ";
DO
LOOP UNTIL INKEY$ <> ""
END SUB
when you want to use it just include a WAIT in your program and edit the SUB to print the variables. The ++++++s are just used as markers to indicate that it is not usual program output. They can be left out.