Difference between revisions of "TI-BASIC:SK:Introduction"

From Learn @ Cemetech
Jump to navigationJump to search
(Initial automated import)
 
(Automated internal link correction)
 
Line 20: Line 20:
  
 
{{Template:TI-BASIC:Next-prev
 
{{Template:TI-BASIC:Next-prev
|prevpage = starter-kit
+
|prevpage = TI-BASIC:Starter_Kit
 
|prevtitle = Table of Contents
 
|prevtitle = Table of Contents
|tocpage = starter-kit
+
|tocpage = TI-BASIC:Starter_Kit
 
|toctitle = Table of Contents
 
|toctitle = Table of Contents
|nextpage = sk:overview
+
|nextpage = TI-BASIC:SK:Overview
 
|nexttitle = Overview of TI-Basic}}[[Category:TI-BASIC]]
 
|nexttitle = Overview of TI-Basic}}[[Category:TI-BASIC]]
 
[[Category:TIBD]]
 
[[Category:TIBD]]

Latest revision as of 00:47, 25 February 2016

Programming tips

Throughout this tutorial, we'll use boxes like this one to give tips that are related to the topic being discussed.

These tips teach you quick ways to improve your programs or the way you use them, or warn against common errors.

TI-Basic is the built-in programming language on all of TI's graphing calculators. It is a scripting language, which means that it is converted to machine code as it runs. Conversely, a compiled language does not have to be translated before running, so it generally runs much faster. TI-Basic is called such for the similarity between the dialect of the language and various versions of BASIC. TI does not officially call this language TI-Basic, but it is widely accepted across the Internet.

Although TI-Basic runs slowly, it is very easy to learn and program, and does not require a computer, unlike Assembly. In theory, a person could program assembly directly on the calculator, but then that person would need to know all of the hex codes for every command, and debugging is near impossible. When an error is encountered in TI-Basic, the calculator gives the user the option to go to the problem, which makes debugging much easier.

The Programming Mentality

Computers -- the calculator is a computer, albeit a small one -- "think" differently than we do. Computers execute code one bit at a time, and go through it in the exact way you programmed it. This means you have to make it so that your programs do things in the order you want; the computer can not decide that it makes more sense to do this code before another bit. Some would argue this the hardest part of programming, and understanding it makes learning a more complicated language like assembly much easier.

Programming comes more naturally to some people than others. If you enjoy solving problems and puzzles -- you are comfortable with not knowing something, but are dedicated to figuring it out -- you probably would be able to be successful at programming. Programming can be a very demanding task, and it requires that you have the right mental aptitude and are persistent.

Equally important, though, is your passion for learning and growing. Do you spend hours at a time reading and researching in books and documentation? When you see high-quality programs and games, does that make you want to dissect the program to find out how it works? Passion is often what drives you to keep pushing to the next level, and without it, you will almost be guaranteed to just get tired and give up.

<< Table of Contents Table of Contents Overview of TI-Basic >>