I'm a fairly new programmer. I created a calculator app for my math students (I'm a tutor) by creating a bunch of individual programs in TI-BASIC and then combining/converting them into a single app using Basic Builder. Everything is working fine on the TI-83+, but on the TI-84+, the app is turning off the ►Frac function. That is, entering 3/5►Frac returns .6, not 3/5.
To make things even weirder, running the app again and quitting without inputting any data turns ►Frac back on. It's only when they actually try to enter data and do calculations that it has this effect.
A few other weirdnesses I've discovered as I've tried to get to the bottom of this. When the bug is in effect:
- Making it a fake complex number gets around it. That is, (3/5 + i – i)►Frac returns 3/5. But it doesn't fix anything permanently; entering 3/5►Frac on the next line still yields .6. And changing modes from real to a+bi or vice versa has no effect.
- Clearing the RAM fixes it (gets ►Frac working normally again until the next time they run the app).
- Changing the mode to FRAC doesn't work. Nothing displays as a fraction, not even 3/5 + i – i. However, (3/5 + i – i)►Frac still works.
- ►F◄ ►D doesn't work either.
- The F1-F4 shortcut menus are also disabled when the bug is in effect. Not a huge deal, but if it helps diagnose the problem, great.
I don't care about the shortcut menus particularly, but the students use ►Frac all the time, and I don't want them to have to restart the app every time they need to use ►Frac. Nor, obviously, do I want to have the app reset their RAM each time to avoid this problem.
The calculator I'm currently testing this on is a TI-84+ running 2.55MP. Disabling MathPrint (just by switching to Classic, not by downgrading the OS) doesn't change anything. Also, other functions exclusive to MP OS's (like remainder and logBASE) work fine.
Any ideas? Either about what could be causing this, or something I could add to the app to keep it from happening? Any insight would be appreciated. The thing is driving me crazy.
Thanks so much for your help. :)