The Disp Command

We're glad you came by, but you might find what you're looking for elsewhere.

TI-Basic Developer is not the site it once was. While its information on commands and other calculator features remains almost second-to-none, its forum, archives, and even hosting service, Wikidot, have been decaying for years. The calculator community would love to see what you're working on, or help you in your next coding adventure, but TI-Basic Developer is no longer the place to do it.

Instead, you should head over to Cemetech (primarily American) or TI-Planet (primarily international). Both are active, well-established forums with their own archives, chatrooms, reference material, and abundant coding tools and resources. We'll see you there, we hope.

disp.png

Command Summary

Displays an output on the Home or I/O screen

Command Syntax

Disp //[text],var

Menu Location

From the program editor, press [F3][2]

Calculator Compatibility

This command works on all calculators.

Token Size

X byte(s)

The Disp command displays output in the Home App I/O screen. An example:

prgmexmp()
Prgm
Request "Enter something",var1   //Get a value for var1
Disp "var1=",var1
Pause
DelVar var1
ClrIO
DispHome
EndPrgm

Error Conditions

910 - Syntax happens when there is improper syntax/a variable was not used.

Related Commands

Credits

Credits to byobcello for the explanation and code, both were made by him. Modified for readability/corrections

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Noncommercial 2.5 License.