TI-Basic Z80 Programming
From Wikibooks, the open-content textbooks collection
This wikibook is considered 'Under Construction.' Many changes are being made.
Contents |
[edit] TI-Basic Programming
WARNING! This book covers only the Z80 processor's version of TI-BASIC!
[edit] Overview
TI-BASIC is a simple programming language used on Texas Instruments (TI) graphing calculators. The language is quite simple which integrates many normal graphing calculator commands (such as storing variables or graphing) into its code.
TI-BASIC is very easy to program, especially when it is compared with Assembly, which is the main other language that can be used to program TI graphing calculators. Also, programs written in TI-BASIC can have a small filesize, since the most common functions can be programmed using just one character (1-2 bytes) such as "If " or "Menu(". However, this makes execution of TI-BASIC programs very slow. because the calculator must read through and parse each line of code in a TI-BASIC program and then translate it into Assembly before actually executing it. Despite the crawling speed of TI-BASIC, it is appropriate for many simple programs.
[edit] Versions of TI-BASIC
The main versions of TI-BASIC in use today are the following two:
- The TI-BASIC that comes with the TI-89, TI 89 Titanium, TI-92, TI-92 Plus and Voyage 200 calculators. This is the more powerful version of TI-BASIC.
- The TI-BASIC that comes with the TI-83, TI-83+, TI-83+ Silver Edition, TI-84+ and TI-84+ Silver Edition calculators. This is a less powerful version of TI-BASIC than the previous one, but still can be used to make many different types of programs.
Please notice that within these two versions of TI-BASIC there are slight variations.
[edit] Table of Contents
This table of contents was written in this order for a reason; it is intended to be the best order to read through if trying to learn the language. However, if you already are familiar with TI-BASIC and wish to skip to a section, please do so.
- Introduction
- Necessary Items
- Hello, World!
- Basic Variables (Numbers, Strings, and Lists)
- Output
- Input
- Program Basics
- Advanced Variables (Characters, Equations, Matrices, Pictures, and Graph Databases)
- Criteria Based Instructions (If, Then, Else & End)
- getKey
- Menus
- Other CTL and I/O Commands
- Screens
- Error Messages
- Tips, Tricks and Optimizations
- Advanced Programming
- Programming Games
- Mathematical Finance Programming
- Links
- Appendix A: Instructions
- Appendix B: Catalog
[edit] External Links
- http://www.ticalc.org/
- TI-Basic Developer
- http://www.ticalc.org/archives/files/fileinfo/391/39193.html TI-83+/84+ BASIC Programming Tutorials
[edit] Learning and Programming TI-BASIC
The manual that comes with TI calculators can be used to learn TI-BASIC. The manual can also be downloaded from the TI web site in a PDF. See the links below.
- TI 83 (See Chapter 16)
- TI 83 Plus (See Chapter 16)
- TI 83 Plus Silver Edition (See Chapter 16)
- TI 84 Plus (See Chapter 16)
- TI 84 Plus Silver Edition (See Chapter 16)
- TI 89 (See Chapter 17)
- TI 89 Titanium (See Chapter 18)
- TI 92 Plus (See Chapter 17)
- Voyage 200 (See Chapter 18)