BASIC Programming Help Guide for Beginners
By Jacob Rude
A step-by-step tutorial for those interested in learning how to program in BASIC.

Part 1: Commands and their locations

1. If           : Prgm menu (CTL)
2. Goto         : Prgm menu (CTL)
3. Lbl          : Prgm menu (CTL)
4. Input        : Prgm menu (I/O)
5. Disp		: Prgm menu (I/O)
6. Pause	: Prgm menu (CTL)
7. ClrHome	: Prgm menu (I/O)
8. -> key	: "STO->" key on the calc
9. Menu(	: Prgm menu (CTL)
10. Output(	: Prgm menu (I/O)

Part 2: Descriptions

-Now I will describe to you what they mean so refer to the top numbers-

1. This function basically means exactly what it does in the english language. You can Lbl numbers and/or letter lables. Combinations are (All of these are put after the Lbl function) (1, 1A, A1, AA, 11) "In the case where I used A and 1., You can use any letter where A is and any number in place of the 1.

2. This will bring you to any Lbl command in the program your in.

3. This is probably the most used function in Ti-83 basic. What this does is makes spots in the program where you can go to, which allows the elament of skiping unnessesary spots in your program. And also editing the program anywhere you want. (It's more explanitory in the part where I use it in a progamming line.)

4. This function will let the player of your game type in a number or name of something (whatever you want) the "Input" will store that name or number they write for you into a string (letters or #'s) or a variable A-Z (only numbers are storable).

5. This also is one of the biggest used commands in basic beginning. It's used alot because it's easy. All you do to write something on the screen is use (Disp "What to say") but it can only be 16 letters long and I will explain that part more in detail later. Another function is to use (Disp A or any other letter) or (Disp Str) this will display a persons stats and/or name on the screen.

6. This will pause the program so the player can read or look at what is on the screen as long as they want. And when they get done, they will press "ENTER" and it will skip to whatever you have next in the Program. (Best used before ClrHome function)

7. What this basically does is clear whatever is on the screen currently (NOT THE GRAPH SCREEN). But use Pause before this because if you don't, the text will show up for a split second and just instantly clear without the person seeing it.

8. This is a key that will store a number into a Variable(or letter). Good use when you want to set a persons hit points or stats in the begining of your program.

9. This is slightly complicated at first for beginners but it will come easy once you learn "Lbl"s and "Goto"s better. Basically what it does is give someone a list of options (7 max.) and brings you to lables in the program. (Good command(used in drugwar))

10. Output( has absolouty nothing to do with Input so don't try to link them (A bad thing if you do). Output does the same as "Disp" Except Output( will specificly put your text in any spot you want.(1st # is the row and 2nd # is the colum)

Now I will make a program that uses all the functions and explains What will happen. In this section I will put these in ;;;;. That means read whats after it and don't program it and continue when it's done! Also ":" means it's the next line to program.

Part 3: Examples and specifics in a program line

Call this program "LEARN"

:ClrHome ; clears whatever is on the screen currently before they play. 

:3→T ;This stores 3 into the letter T and later on it will decide how many times the person has gone to chicago. 

:Disp "GET READY TO GO","ON AN ADVENTURE!!" ; This displays "get ready to go" on the top line and the "," skips to the next line because only 16 letters or spaces can fit on a line. 

:Pause ; Makes them press enter to go to the next screen. 

:ClrHome ; Clears the screen after they press "ENTER". 

:Lbl MN ; Labels a point so that you can return here. 

:ClrHome ; Clears the screen. 

:Menu("GO WHERE?","NEW YORK",NY,"CHICAGO",CH,"SEATLE",ST,"LA",LA) ; The first quotations display the title or main question, that is why you don't need ",Variable," in the line. Now the other words in quotations are options that they pick. And "NEW YORK",NY part of the program means if they pick NEW YORK it goes to Lbl NY. All the other lines are the same as that one, but after "LA" just put the lable and the ) to end it. 

:Lbl NY ; This is the place it takes them to if they pic NEW YORK. 

:Output(1,1,"NEW YORK IS FOR") ;The first nuber is row, second is colum., Then it will Diplay the text in quotations. 

:Output(2,1,"KNICKS AND CABS.") ;Same thing as one before but on the 2nd line. 

:Pause 

:ClrHome 

:Goto MN ; Goes to "Lbl MN" which is the Menu. 

:Lbl CH ; What happens when they pick chicago. 

:Disp "DO WHAT???","1. HOOP","2. RUN" ;Gives them an option to play basketball or run" 

:Input ":",A ; What this does is put a semicolon area where the person either writes "1" or "2" wich chooses thier option. And then stores the number they put in to the variable "A". Which will be used to define what option they picked. 

:If A=1:Goto HP ; Basically If they picked HOOP which is option "1", It will go to the Lbl HP. 

:If A=2:Goto RN ; Same thing but it will go to the Lbl RN. 

:Lbl HP ; What happens when they picked "HOOP". 

:ClrHome 

:Disp "MJ SCHOOLED YOU!" ;Writes that. 

:Pause 

:Goto MN ; Goes to the Menu again. 

:Lbl RN ; where the program goes if they choose to run. 

:ClrHome 

:Disp "YOU'VE BEEN SHOT" 

:Pause 

:Goto MN ;Goes back to the Menu. 

:Lbl ST ;The label for Seatle 

:ClrHome 

:If T=3:Goto YW ;Means if they go to Seatle 3 times they go to the Lbl YW which means they WIN" 

:Disp "I DARE YOU TO","COME BACK 2 MORE","TIMES!" ;Basically tells the player to go back 3 times. 

:T+1->T ;This adds 1 to T and then stores it back into it, Which which means they have come back again. 

:Pause

:ClrHome

:Goto MN ;Goes to the Menu again 

:Lbl LA 

:Disp "YOU LOSE"

:Goto LA ;This will piss people off because it will keep displayin they loose until the "ON" button is pressed. 

:Lbl YW

:Disp "YOU WIN!!!"

:Goto YW ;This will display YOU WIN until they press ON. 

Now, this is your first program. I really hope that it helped you. I will be writing more tutorials soon, so check back for the tutorial which will help you program graphics in your programs!