Free Web Hosting Provider - Web Hosting - E-commerce - High Speed Internet - Free Web Page
Search the Web

TI Source: Prompt
 
 Path: Home - Basic - Prompt    
  Basic    Assembly    Interactive    Miscellaneous    Members  

  Guide    Glossary    Programs  
 PromptBy Justin 

Prompt is a simple way to get input from the user. All you do is prompt the user to input a value to a variable. The screen will display the variable followed by =?

Here is an example. The program is asking for the user to input a value to the variable A:

Here is the code:

Breakdown of code:

ClrHome
Clear the Home screen
Prompt A
Prompt the user the enter a value for the variable A
Disp A
Display the value of the variable "A."

Output:

 Downloads:
TitleDescriptionAuthor
N/AN/AN/A

  Basic    Assembly    Interactive    Miscellaneous    Members