The Prompt Command
Prompt68k.gif

Command Summary

Prompts the user to assign a value to a variable

Command Syntax

Prompt var1,var2…

Menu Location

In the program editor, press [F3][5]

Calculator Compatibility

TI 89(T)/92

Token Size

2 bytes

The Prompt command functions much like the Input command. It allows you to type a value to be stored to a variable. You can also prompt multiple values at the same time. For example:

Prompt A
//This will ask the user to type a value for A

Prompt A,B,C
//This will ask for a value for variables A,B, and C

You can also ask for input in user-made variables
Prompt cool
//This asks for a value for the variable "cool"

Related Commands

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