TI-84 Plus CE Graphing Calculator For Dummies, 3rd Edition
Book image
Explore Book Buy On Amazon

The Disp and Output commands on the TI-84 Plus calculator are used to get a program to display text on the Home screen. Because each line of the Home screen can accommodate up to 26 characters, the wise programmer will limit all text items to no more than 26 characters. A space counts as one character.

image0.jpg

The first screen shows an example of a program that displays the text “PRESS THE ENTER KEY TO CONTINUE” in two ways. The first Disp command displays the whole text, in spite of the fact that it contains more than 26 characters.

The Disp command followed by an empty text item can be used to make a program skip a line on the Home screen. The next two Disp commands break the text into two parts, each of which contains fewer than 26 characters.

The output of the program in the first screen is shown in the second screen. The ellipsis at the end of the second line in this screen indicates that the calculator could not display the whole line. (The calculator does not understand “wrap around.”) And worse than that, you can't use

image1.jpg

to see what comes after that ellipsis. The remaining lines of this screen illustrate the solution to this problem.

When programming the calculator to output text, limit all text items to 26 characters. A space counts as one character. If necessary, break the text into two or more text items that are consecutively displayed.

About This Article

This article is from the book:

About the book author:

Jeff McCalla is a mathematics teacher at St. Mary's Episcopal School in Memphis, TN. He cofounded the TI-Nspire SuperUser group, and received the Presidential Award for Excellence in Science & Mathematics Teaching.

C.C. Edwards is an educator who has presented numerous workshops on using TI calculators.

This article can be found in the category: