The Disp and Output Commands for TI-84 Plus Programs
The Disp and Output commands are used by a program to display text messages and values. The Disp command is capable of displaying more than one piece of information, and the Output command allows the program to place text or a value, but not both, at a predetermined location on the Home screen.
The Disp command for TI-84 Plus programs
The syntax for using the Disp command to have a program display text and values is: Disp item1,item2,...,item n where item is either text or a value. The items appearing after this command are separated by commas with no spaces inserted after each comma. Text items must be in quotes, and value items can be arithmetic expressions, as in the last two lines of the first picture.
When a program executes a Disp command, it places each item following the command on a separate line; text items are left justified and value items are right justified.
The Home screen, where program output is displayed, can accommodate up to eight lines. If the disp command in your program is going to result in more than eight lines, consider breaking it into several disp commands separated by the Pause command.
The Disp command followed by an empty text item can be used to make a program skip a line on the Home screen, as in the fifth line of the program.
The Output command for TI-84 Plus programs
The syntax for using the Output command to have a program display text or a value at a specified location on the Home screen is: Output(line,column,item). The calculator supplies the first parenthesis; you must supply the last parenthesis. There are no spaces inserted after the commas.
The Home screen contains 8 lines and 16 columns. The item displayed by this command can be a text item or a value item. Text items must be in quotes, and a value item can be an arithmetic expression, as in the last four lines of the first picture. The program output resulting from executing this program is illustrated in the second picture.