FANDOM


Opening the program

To begin programming in TI-Basic, one must first open the Program Editor PGRM:NEW. Then enter the desired name of the program and press enter. If done correctly, the program should be completely blank. The following examples are the only examples that will show the actual program name, all others will asssume that the name is present.

It should also be noted that it is assumed for the sake of this chapter that the name of the program is TEMP.

Enter

Hitting the ENTER key will add a new line. Thus, if you were on the first line of a program, the display would look like this:

PROGRAM:TEMP
:


But after pressing ENTER, it would look like this:

PROGRAM:TEMP
:
:


Hello, World

Now, one of the most very basic programs will be created: Hello, World!

Follow the list of commands as follows:

  1. PGRM:I/O:8 (ClrHome)
  2. PGRM:I/O:3 (Display)
  3. "HELLO, WORLD!"

If you followed the commands, the program should look like -

:ClrHome
:Disp "HELLO, WORLD!"


To run the program, press 2nd:Quit(Mode) then PGRM, find the program name, and hit enter. The calculator should have the program name prefixed by 'pgrm' on the homescreen. Press enter and the program should run, displaying:

HELLO, WORLD!


And that's your first program. An explanation of each commmand used can be found in the following chapters.

If you need to edit the program, go to PGRM:EDIT then find the name of the program.



This page uses content from Wikibooks. The original book was at TI-Basic 84 Programming. The authors of this book were Jimmyatic and Dlrohrer2003. As with TI-BASIC Wiki, the text of Wikibooks is available under the Creative Commons Attribution-Share Alike License.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.