E-mail Address
Password

Register
arasian > support > education > tutorial

Ti-83 Basic
The Basics
     1.1: Getting Started
     1.2: The "Disp" Command
     1.3: The "Input" Command
     1.4: Strings
     1.5: If-Then Statements
     1.6: "For" Loops
     1.7: "While" Loops
     1.8: The "Getkey" Command
Creating Menus
     2.1: Lbl and Goto Commands
     2.2: The "Menu" Command
Graphics
     3.1: Setting up for Drawing
     3.2: Graphing
     3.3: Graph-Coordinates Drawing
     3.4: Screen-Coordinates Drawing
     3.5: Pictures
     3.6: "Input" Revisited
     3.6: Advanced Menus
     3.8: Dynamic Menus
     3.9: Dialog Boxes
Miscellaneous
     4.1: Memory Management
     4.2: Creating Lists and Saved Games
     4.3: Using with MirageOS
     4.4: Tips and Hints
The "Input" Command

The next command is the input command. This is accessed by going to [PRGM][Right][ENTER]. It asks for a number or letters, and stores them to a variable. It looks like this:
Input "Whatever you want it to ask" , Whatever variable you want it to store the answer to
So, write a program that inputs two numbers, then adds the numbers together.
It should look like this:
:Input "A?",A
:Input "B?",B
:Disp A+B
And it should run like this:
A? 1
B? 1
2
If you wanted to add numbers into consecutive variables, then you could use the prompt command. This is accessed by [PRGM][Right][2]. Then You put the variables you want to ask and seperate them by a comma. The completed command would look like this:
:Prompt A,B,R
And the program would look like this when run:
A=? 1
B=? 2
R=? 3
That's all with the input command. Next, we'll learn about strings.
Creative Commons License
The text in this tutorial is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.

Privacy Policy | Contact Us
(c) 1999-2010 Arasian. All rights reserved.