It's nearly my bed time. But one potential problem is using the word
var. This is a low level word used by
dim statements to create variables. The compiler should be smart enough not to be confused when var is redefined by the user but I cannot guarantee it.
Charles
I get the correct answers but with very small rounding errors. This is a bonus feature of floating point
and it is not always clear why it happens. Floating point numbers usually have to be cleaned up and trimmed before displaying. Was this the problem you encountered Peter?