I have a TI 84 Plus CE, and I was trying to make a guessing program (which is much more complex than it needs to be but ignore that) and I am using Text() to display the numbers to the draw screen. I'm using variables Y and X for the rows and columns, but in the program, when I typed...


...it displayed it at the top of the screen at a higher X-value than the entered value (135). What it should have done is put it somewhat in the middle of the screen. Here is the code it is nested in:

:Lbl PN
:While K=0
:If K=92
:Goto PN
The problem is that the calculator resets the value of the Y variable frequently, namely if your program uses the graphscreen. If you use the graphscreen in your TI-BASIC program, then switch to Z, B, or some other variable that's not Y.

Edit: Also, the graphscreen chapter in "Programming the TI-83 Plus/TI-84 Plus" has information about this issue.
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum