List All Pages (68k)
This sitemap is a list of the pages in the 68k section of the site, organized in a hierarchical fashion for easy viewing. Please note that this does not include all of the pages in the 68k section,...
This tutorial is meant as an introduction to 68k TI-Basic for programmers that already are fairly experienced with TI-83 series Basic programming. Instead of re-teaching many things, this tutorial...
If you have any suggestions whatsoever on content, feel free to add them here.
Commands
Virtually none of the command pages have been created yet. Here's a step-by-step process for writing a...
This page contains the character codes used internally by the calculator. This table can be useful in particular with the char() and ord() commands.
Characters in the following ranges can be used...
When people visit and contribute to the wiki, we want to make sure that they find this wiki useful and an enjoyable place to be. To ensure that this happens, we have created a simple code of...
This page documents the speed of certain commands in 68k TI-Basic. Now, obviously the times given here (in seconds) will vary from model to model and even from calculator to calculator (due to...
Some commands have a superscript next to them that indicates compatibility:
2.xx indicates that the command requires AMS 2.xx or higher on a TI-89, TI-92, or TI-92+ (or any 3.00+ version, on the...
When you are in the process of writing a program, everything about the program (i.e., variables, program structure, branching labels, etc.) is fresh in your mind and it's easy to remember. But what...
Cross-compatibility is the practice of making sure that your program will work on any TI-68k calculator, not just the one you used to program it. There are three different areas that you need to...
Going through the process of debugging your programs may seem like a lot of unnecessary work, but it is better that you find and correct the errors then having the user of your program tell you...
Although input on the I/O screen (with commands such as Input and InputStr) can be useful for some programs, dialog boxes are usually more effective. A dialog box is a typical message box that is...
Add a DYK
Did you know…
Tools & Utilities
TI-Connect
CalcCapture
TiEmu
TI Linking Program (TiLP)
Virtual TI
VTI Capture
Documentation
89 Basic Guide
89 Basic Libraries
89 Beginning Basic
89 Optimize
89 Programming...
Purpose
DropDown is used in a dialog box to make body text that includes a dropdown menu, with multiple options. This is good for use in text rpgs or game menus where a dialog box already exists...
This table lists all the possible error messages that can occur. The error number to the left is not displayed, but is stored to the errornum system variable, which can be used in a Try..EndTry...
Add a Featured Article
The featured articles are articles that represent the best TI-Basic Developer has to offer. A featured article meets all of the following requirements:
Well-Written — It...
Add a Featured Command
The featured commands are articles that represent the best TI-Basic Developer has to offer. A featured command meets all of the following requirements:
Well-Written — It...
Routine Summary
Looks through a list to find the first non-zero element.
Inputs
list - The list or list variable to look through.
Outputs
The index of the first non-zero element in the list.
If...
This FAQ is an attempt to answer the common TI-Basic related questions that people ask. Many of the questions are related to each other, so it is recommended that you read through the whole list....
A | B | C | D | E | F | G | H | I | K | L | M | N | O | P | R | S | T | U | V
A
Argument
One of the values that a command acts on.
Array
A collection of numeric variables arranged in a list...
We are dealing with a graphing calculator after all, so it makes sense that there are lots of graphics commands to talk about. Although the graphical capabilities of the calculator are limited (a...
Do you have a friend who you think would be interested in TI-Basic? Invite them!
So, you want to become a member of this site? Tell us why and apply now! Your application will be quickly reviewed, and a site administrator will accept your membership.
You can also join by...
This table contains the values returned by getKey() for each (keypress, modifier) pair. Unlike the getKey found on TI-83 series calculators, the 68k calculators' getKey() returns keypresses with...
Any more-or-less complicated program will probably end up using a list at some point: they are the easiest way to organize a set of similar information. This article's purpose is to teach you to do...
A list is a collection of elements in order. On the TI-68k calculators, lists can contain any mix of any variable type that's valid in an expression: you can have lists of numbers, lists of...
The lock command prevents a variable's value from changing. In programs and functions, lock is usually used to stop a variable from undesirebly changing. If a variable is universally defined (like...
After spending considerable time making a program that you are proud of, the natural next step is to try to get people to start using your program. After all, a program is nothing without people...
Calculators are built with one primary purpose: math. Programming, game playing, and everything else is secondary. Thus, you will find a number of powerful math commands. Although it may seem that...
A matrix is a rectangular grid of elements. On the TI-68k calculators, matrices can contain any mix of any scalar (non-list) variable type that's valid in an expression: you can have matrices of...
These are the settings that can be used with setMode() and getMode(), with a brief explanation. The 'Number' field refers to an alternate string that can be used for compatibility with other...
A dictionary would define optimization as the process of making something better. In the field of TI calculator programming, it refers to improving code to use less memory, whether as program size...
"Please excuse my dear Aunt Sally" —Anonymous
To figure out order of operations, the calculator divides all the operations into 15 priority levels. When evaluating an expression, everything on...
Page tags are yet another way you can navigate the site, and they consist of usually 3-5 keywords that describe a page. More frequently used keywords appear larger and in a darker color, while...
Before writing any of the code for a program, you should carefully plan out the program. This may seem like an unnecessary step, time that could be better spent, but it will pay major dividends in...
Every command on the calculator is useful for programming, but some are expressly designed for that purpose. These are roughly divided into three categories: commands to control the flow of a...
Now that you have learned the commands, design theory and game techniques, it's time to put that information to use. These project ideas are for programs that you should try to make to the given...
This technique code example is a very simple random polynomial generator. The randPoly( function automatically creates a random polynomial of a given degree, however, the polynomial is not promised...
Usage
This command is used to recall (open) a picture you have saved on your calculator. This is normally used in programs, because you can open pictures from the graph when you are not running a...
Many programming guides give you excellent advice on programming, but stop at the point when the program is finished, tested, and optimized. After all, most people can manage to release a program...
This page is a collection of short routines that can be used as subroutines in larger programs. By contrast, the Sample Programs page links to entire games (that may use some of these routines)....
RSA is a popular encryption algorithm. It is a public-key algorithm — this means that anyone can encrypt messages using the "public key", but only the person who knows the "private key" can...
The programs linked from this page are complete (if simple) programs, presented with source code and an explanation. They are meant as a way of putting everything that is on this guide together...
When writing a program, you want it to be independent from the user's settings as much as possible - no one should have to set function mode or disable axes to run your program correctly. So your...
This page lists all members, moderators and administrators of the site. Feel free to become a member.
Members
Badges
All Recipients
Regular
Forum Regular
Created Member
Challenge...
Add news
2009
2008
2007
2006
"Sprite" is a common name for a small image displayed on the screen (usually, this image is moved around as well, or repeated several times, as in a tilemap). In TI-68k Basic, support for sprites...
A string is a collection of letters (usually called characters) in order. They are most commonly used for displaying text, although they can be adapted to any purpose. See the character codes page...
A long program can get complicated to manage when it's all in one piece. For this reason, it's often easier to write code with a main program that does its job by running several other programs...
System variables are special reserved variable names used by some of the commands internally. They exist outside the folder structure that the other variables are located in, so they can be...
Screenshots are one of the best ways to advertise your program at any stage of production. They're also great for explaining a problem you have, explaining how to fix a problem, demonstrating a...
The programs linked from this page are short programs meant to demonstrate the use of several programming techniques described elsewhere in this guide. For readers who learn better by example than...
Command Summary
Indicates that a number is written in binary.
Command Syntax
0bdigits
Menu Location
This command can't be found in any menu besides the command catalog.
Calculator...
Command Summary
Indicates that a number is written in hexadecimal.
Command Syntax
0hdigits
Menu Location
This command can't be found in any menu besides the command catalog.
Calculator...
Command Summary
Returns the absolute value of an argument.
Command Syntax
abs(expression)
Menu Location
This command can't be found in any menu besides the command catalog.
Calculator...
Command Summary
Tests if two conditions are both true.
Can also be used as a bitwise "and" on integers.
Command Syntax
condition1 and condition2
integer1 and integer2
Menu Location
Press 2nd...
Command Summary
Gives a decimal approximation of an expression.
Command Syntax
approx(expression)
Menu Location
While on the home screen:
Press F2 to enter the Algebra menu.
Press 5 to paste...
Command Summary
Moves a variable from RAM to the archive.
Command Syntax
Archive variable, [another, …]
Menu Location
Starting in the program editor:
Press F4 to enter the Var menu.
Press 8 to...
This section of the wiki is concerned with the 68k family of TI graphing calculators (this name is due to the Motorola 68000 processor they use, as opposed to the Zilog Z80 chip on older...
Command Summary
Returns the ceiling of a number.
Command Syntax
ceiling(value)
Menu Location
Press 2nd MATH to enter the MATH popup menu.
Press 1 to enter the Number submenu.
Press 7 to select...
Command Summary
Returns a character given its ASCII code.
Command Syntax
char(code)
Menu Location
Press 2nd MATH to enter the MATH popup menu.
Press D to enter the String submenu.
Press A to...
Command Summary
Checks the value of the system clock.
Command Syntax
checkTmr(time)
Menu Location
This command can't be found in any menu besides the command catalog.
Calculator...
Command Summary
Turns off the hardware clock.
Command Syntax
ClockOff
Menu Location
This command can't be found in any menu besides the command catalog.
Calculator Compatibility
This command...
Command Summary
Turns on the hardware clock.
Command Syntax
ClockOn
Menu Location
This command can't be found in any menu besides the command catalog.
Calculator Compatibility
This command...
Command Summary
Clears the graph screen, redrawing any functions, plots, or axes/grid/labels.
Command Syntax
ClrDraw
Menu Location
This command can't be found in any menu besides the command...
Command Summary
Clears the home screen.
Command Syntax
ClrHome
Menu Location
This command can't be found in any menu besides the command catalog.
Calculator Compatibility
This command works on...
Command Summary
Raises a number to a power.
Command Syntax
base ^ exponent
Menu Location
Press the [^] key to paste ^.
Calculator Compatibility
This command works on all calculators.
Token Size
1...
Command Summary
Tests if two values are different.
Command Syntax
value1≠value 2
Menu Location
Press [♦][=] key to enter ≠.
Calculator Compatibility
This command works on all...
Command Summary
Tests if one value is smaller than another.
Command Syntax
value1<value 2
Menu Location
Press [2nd][<] to enter <.
Calculator Compatibility
This command works on all...
Command Summary
Tests if one value is smaller than or equal to another.
Command Syntax
value1≤value 2
Menu Location
Press [♦][<] to enter ≤.
Calculator Compatibility
This command works...
Command Summary
Tests if two values are equal.
Command Syntax
value1=value 2
Menu Location
Press the [=] key to enter =.
Calculator Compatibility
This command works on all calculators.
Token...
Command Summary
Tests if one value is larger than or equal to another.
Command Syntax
value1≥value 2
Menu Location
Press [♦][>] to enter ≥.
Calculator Compatibility
This command works on...
Command Summary
Tests if one value is larger than another.
Command Syntax
value1>value 2
Menu Location
Press [2nd][>] to enter >.
Calculator Compatibility
This command works on all...
Command Summary
Substitutes a value for a variable temporarily.
Command Syntax
expression
Menu Location
Press the
Calculator Compatibility
This command works on all calculators.
Token Size
1...
Command Summary
Converts an angle to degrees, if necessary.
Command Syntax
angle°
Menu Location
Press 2nd MATH to enter the MATH popup menu.
Press 2 to enter the Angle submenu.
Press 1 to...
Command Summary
Returns the difference of two numbers.
Command Syntax
value1 - value2
Menu Location
Press the [-] key to paste -.
Calculator Compatibility
This command works on all...
Command Summary
Takes the factorial of a number.
Command Syntax
number!
Menu Location
This command can't be found in any menu besides the command catalog.
Calculator Compatibility
This command...
Command Summary
Divides one number by another.
Command Syntax
value1 / value2
Menu Location
Press the [/] key to paste /.
Calculator Compatibility
This command works on all calculators.
Token...
Command Summary
Raises a value to a power, doing this element-by-element for matrices.
Command Syntax
base .^ exponent
Menu Location
Press 2nd MATH to enter the MATH menu.
Press 4 to enter the...
Command Summary
Subtracts two values, using element-by-element subtraction when subtracting a matrix and a number.
Command Syntax
value1 .- value2
Menu Location
Press 2nd MATH to enter the MATH...
Command Summary
Divides two values, doing so element-by-element for two matrices.
Command Syntax
value ./ value
Menu Location
Press 2nd MATH to enter the MATH menu.
Press 4 to enter the Matrix...
Command Summary
Multiples two values, using element-by-element multiplication for two matrices.
Command Syntax
value1 .* value2
Menu Location
Press 2nd MATH to enter the MATH menu.
Press 4 to...
Command Summary
Adds two values, using element-by-element addition when adding a matrix and a number.
Command Syntax
value1 .+ value2
Menu Location
Press 2nd MATH to enter the MATH menu.
Press 4...
Command Summary
Marks the rest of the line (in a program) as a comment.
Command Syntax
:line of code © comment
Menu Location
Starting in the program editor:
Press F2 to enter the I/O...
Command Summary
Returns the multiplication of two numbers.
Command Syntax
value1 * value2
Menu Location
Press the [*] key to paste *.
Calculator Compatibility
This command works on all...
Command Summary
Joins two strings together.
Command Syntax
string&string
Menu Location
Press 2nd MATH to enter the MATH popup menu.
Press D to enter the String submenu.
Press 4 to select...
Command Summary
Gets a variable given its name as a string.
Command Syntax
#var-name
Menu Location
On a widescreen calculator, press 2nd # to paste #.
Or, on any calculator model, press:
2nd...
Command Summary
Divides a number by 100.
Command Syntax
number%
Menu Location
Press 2nd CHAR to enter the CHAR menu.
Press 3 to enter the Punctuation submenu.
Press 5 to select %.
Calculator...
Command Summary
Returns the sum of two numbers.
Command Syntax
value1 + value2
Menu Location
Press the [+] key to paste +.
Calculator Compatibility
This command works on all calculators.
Token...
Command Summary
Stores a value to a variable.
Command Syntax
value→variable
Menu Location
Press the STO> key to insert →.
Calculator Compatibility
This command works on all...
Command Summary
Negates an expression.
Command Syntax
‾expression
Menu Location
Press the ‾ key to enter ‾.
Calculator Compatibility
This command works on all calculators.
Token Size
1...
Command Summary
Used in entering a vector in polar, cylindrical, or spherical format, or a complex number in polar form.
Command Syntax
[r,∠θ]
[r,∠θ,z]
[r,∠θ,∠φ]
(r∠θ)
Menu...
Command Summary
Converts an expression from one unit to another.
Command Syntax
expression▶units
Menu Location
Press [2nd][▶] to enter ▶: this is
[2nd][MODE] on a TI-89 or TI-89...
Command Summary
Multiplies together the evaluations of an expression with one variable taking on a range of values.
Command Syntax
∏(expression, variable, start, end)
Menu Location
Press 2nd...
Command Summary
Adds together the evaluations of an expression with one variable taking on a range of values.
Command Syntax
∑(expression, variable, start, end)
Menu Location
Press 2nd MATH to...
Command Summary
Takes the square root of a number.
Command Syntax
√(number)
Menu Location
This command can't be found in any menu besides the command catalog.
Calculator Compatibility
This...
Command Summary
Takes the integral of an expression.
Command Syntax
∫(expression,variable)
∫(expression,variable,constant)
∫(expression,variable,lower,upper)
Menu Location
Press [2nd][7] to...
Command Summary
Takes the cosine of a number (usually, an angle).
Command Syntax
cos(angle)
Menu Location
Press the COS button to enter cos(.
Calculator Compatibility
This command works on all...
Command Summary
Takes the hyperbolic cosine of a number.
Command Syntax
cosh(value)
Menu Location
Press 2nd MATH to enter the MATH menu.
Press C to enter the Hyperbolic submenu.
Press 2 to...
Command Summary
Takes the cotangent of a number (usually, an angle).
Command Syntax
cot(angle)
Menu Location
Press 2nd MATH to enter the MATH popup menu.
Press A to enter the Trig submenu.
Press...
Command Summary
Takes the hyperbolic cotangent of a number.
Command Syntax
coth(value)
Menu Location
Press 2nd MATH to enter the MATH menu.
Press C to enter the Hyperbolic submenu.
Press 6 to...
Command Summary
Takes the cosecant of a number (usually, an angle).
Command Syntax
csc(angle)
Menu Location
Press 2nd MATH to enter the MATH popup menu.
Press A to enter the Trig submenu.
Press...
Command Summary
Takes the hyperbolic cosecant of a number.
Command Syntax
csch(value)
Menu Location
Press 2nd MATH to enter the MATH menu.
Press C to enter the Hyperbolic submenu.
Press 4 to...
Command Summary
Creates a custom toolbar menu.
Command Syntax
:Custom
(list of titles and items)
:EndCustm
Menu Location
This command can't be found in any menu besides the command...
Command Summary
Prematurely ends a cycle of a loop.
Command Syntax
:Cycle
Menu Location
Starting in the program editor:
Press F2 to enter the Control menu.
Press 8 to enter the Transfers...
Command Summary
Takes a symbolic derivative of an expression.
Command Syntax
d(expression,variable[,order])
Menu Location
Press 2nd MATH to enter the MATH popup menu.
Press B to enter the...
Command Summary
Stores a value in a variable.
Command Syntax
Define variable=value
Menu Location
Starting in the program editor:
Press F4 to enter the Var menu.
Press 1 or Enter to select...
Command Summary
Deletes a variable or variables.
Command Syntax
DelVar var1[,var2,…]
Menu Location
Starting in the program editor:
Press F4 to enter the Var menu.
Press 2 to select...
Command Summary
Displays a dialog box for input or output.
Command Syntax
:Dialog
(dialog elements)
:EndDlog
Menu Location
Starting in the program editor:
Press F3 to enter the I/O menu.
Press 1...
Command Summary
Returns the size of a list, matrix, or string.
Command Syntax
dim(list-matrix-or-string)
Menu Location
Press 2nd MATH to enter the MATH menu.
Press D to enter the String...
Command Summary
Exits a loop.
Command Syntax
:Exit
Menu Location
Starting in the program editor:
Press F2 to enter the Control menu.
Press 8 to enter the Transfers submenu.
Press 5 to select...
Command Summary
Runs code stored inside a string.
Command Syntax
expr(string)
Menu Location
Press MATH to enter the MATH popup menu.
Press D to enter the Strings submenu.
Press 2 to select...
Command Summary
Returns the floor of a number.
Command Syntax
floor(value)
Menu Location
Press 2nd MATH to enter the MATH popup menu.
Press 1 to enter the Number submenu.
Press 6 to select...
Command Summary
Repeats a block of code some number of times.
Command Syntax
:For counter, start, end, step
(block of code)
:EndFor
Menu Location
Starting in the program editor:
Press F2 to...
Command Summary
Converts a number to a string with specified formatting.
Command Syntax
format(number[,options])
Menu Location
Press 2nd MATH to enter the MATH popup menu.
Press D to enter the...
Command Summary
Converts an angle to gradians, if necessary.
Command Syntax
angle G
Menu Location
Press 2nd MATH to enter the MATH popup menu.
Press 2 to enter the Angle submenu.
Press C to...
Command Summary
Returns a list of calculator configuration info.
Command Syntax
getConfg()
Menu Location
This command can't be found in any menu besides the command catalog.
Calculator...
Command Summary
Returns the current default date format.
Command Syntax
getDtFmt()
Menu Location
This command can't be found in any menu besides the command catalog.
Calculator Compatibility
This...
Command Summary
Returns the current date in a string.
Command Syntax
getDtStr([format])
Menu Location
This command can't be found in any menu besides the command catalog.
Calculator...
Command Summary
Returns the last keypress.
Command Syntax
getKey()
Menu Location
Starting from the program editor:
Press F3 to enter the I/O menu.
Press 7 to paste getKey().
Calculator...
Command Summary
Checks the current mode settings.
Command Syntax
getMode(setting)
Menu Location
This command can't be found in any menu besides the command catalog.
Calculator Compatibility
This...
Command Summary
Returns the variable type of a variable
Command Syntax
getType(variable)
Menu Location
This command can't be found in any menu besides the command catalog.
Calculator...
Command Summary
Jumps to a label somewhere else in the program.
Command Syntax
:Goto label-name
Menu Location
This command can't be found in any menu besides the command catalog.
Calculator...
Command Summary
Sets a condition for a line or several lines to be executed.
Command Syntax
If condition
:statement
:If condition Then
…
:EndIf
Menu Location
Starting in the program...
Command Summary
Asks for a value to be typed in on the I/O screen.
Command Syntax
Input [prompt,]variable
Input
Menu Location
Starting in the program editor:
Press F3 to enter the I/O...
Command Summary
Finds a search string in another string.
Command Syntax
inString(string, search-string,[)
Menu Location
Press 2nd MATH to enter the MATH popup menu.
Press D to enter the Strings...
Command Summary
Returns the floor of a number.
Command Syntax
int(value)
Menu Location
This command can't be found in any menu besides the command catalog.
Calculator Compatibility
This command...
Command Summary
Returns the whole number part of a division.
Command Syntax
intDiv(dividend,divisor)
Menu Location
This command can't be found in any menu besides the command catalog.
Calculator...
Command Summary
Returns the integer part of a number.
Command Syntax
iPart(value)
Menu Location
Press 2nd MATH to enter the MATH popup menu.
Press 1 to enter the Number submenu.
Press 4 to...
Command Summary
Checks if the hardware clock is turned on.
Command Syntax
isClkOn()
Menu Location
This command can't be found in any menu besides the command catalog.
Calculator...
Command Summary
Adds an item to a Custom or ToolBar menu.
Command Syntax
Item text (with Custom)
Item text,label (with ToolBar)
Menu Location
Starting in the program editor:
Press F3 to enter...
Command Summary
Marks a point in the program for use with Goto and Toolbar..EndTBar.
Command Syntax
:Lbl label-name
Menu Location
This command can't be found in any menu besides the command...
Command Summary
Returns a subsection from the left of a list or string, or the left hand side of an equation.
Command Syntax
left(equation)
left(list-or-string,length)
Menu Location
Press 2nd...
Command Summary
Declares variables to be local to the current function or program.
Command Syntax
Local var1[,var2,…]
Menu Location
Starting in the program editor:
Press F4 to enter the Var...
Command Summary
Repeats a block of code forever.
Command Syntax
:Loop
(block of code)
:EndLoop
Menu Location
Starting in the program editor:
Press F2 to enter the Control menu.
Press 6 to paste...
Command Summary
Selects a substring from a string, or a sublist from a list.
Command Syntax
mid(string-or-list,start[,count])
Menu Location
Press 2nd MATH to enter the MATH popup menu.
Press D...
Command Summary
Returns a list filled with zeroes.
Command Syntax
newList(length)
Menu Location
This command can't be found in any menu besides the command catalog.
Calculator Compatibility
This...
Command Summary
Reverses a condition.
Can also be used as a bitwise "not" on integers.
Command Syntax
not condition
not integer
Menu Location
Press 2nd MATH to enter the MATH popup menu.
Press 8...
Command Summary
Calculates several summary statistics for a list.
Command Syntax
OneVar list[,freq,arg3,arg4]
Menu Location
Press 2nd MATH to enter the MATH popup menu.
Press 6 to enter the...
Command Summary
Tests if either of two conditions is true.
Can also be used as a bitwise "or" on integers.
Command Syntax
condition1 or condition2
integer1 or integer2
Menu Location
Press 2nd...
Command Summary
Gives the ASCII code of a character.
Command Syntax
ord(string)
Menu Location
Press 2nd MATH to enter the MATH popup menu.
Press D to enter the string submenu.
Press B to select...
Command Summary
Output is used to display text to pixel coordinates on the Program I/O screen.
Command Syntax
Output row,col,text
Menu Location
Starting in the program editor:
Press F3 to enter...
Command Summary
Pauses the program until ENTER is pressed, optionally displaying text on the I/O screen.
Command Syntax
:Pause [expression]
Menu Location
Starting in the program editor:
Press F2...
Command Summary
Inverts a point on the graph screen.
Command Syntax
PtChg x, y
Menu Location
This command can't be found in any menu besides the command catalog.
Calculator Compatibility
This...
Command Summary
Erases a point on the graph screen.
Command Syntax
PtOff x, y
Menu Location
This command can't be found in any menu besides the command catalog.
Calculator Compatibility
This...
Command Summary
Draws a point on the graph screen.
Command Syntax
PtOn x, y
Menu Location
This command can't be found in any menu besides the command catalog.
Calculator Compatibility
This...
Command Summary
Changes a pixel on the graph screen.
Command Syntax
PxlChg row, column
Menu Location
This command can't be found in any menu besides the command catalog.
Calculator...
Command Summary
Turns off a pixel on the graph screen.
Command Syntax
PxlOff row, column
Menu Location
This command can't be found in any menu besides the command catalog.
Calculator...
Command Summary
Turns on a pixel on the graph screen.
Command Syntax
PxlOn row, column
Menu Location
This command can't be found in any menu besides the command catalog.
Calculator...
Command Summary
Generates a random number.
Command Syntax
rand() or rand(n)
Menu Location
Press 2nd MATH to enter the MATH popup menu.
Press 7 to enter the Probability submenu.
Press 4 to paste...
Command Summary
Generates a random matrix.
Command Syntax
randMat(rows,columns
Menu Location
Press 2nd MATH to enter the MATH popup menu.
Press 7 to enter the Probability submenu.
Press 7 to...
Command Summary
Generates a random normally-distributed number.
Command Syntax
randNorm(mean,std-dev)
Menu Location
Press 2nd MATH to enter the MATH popup menu.
Press 7 to enter the Probability...
Command Summary
Generates a random polynomial.
Command Syntax
randPoly(var,deg)
Menu Location
Press 2nd MATH to enter the MATH popup menu.
Press 7 to enter the Probability submenu.
Press 8 to...
Command Summary
Seeds the random number generator.
Command Syntax
RandSeed value
Menu Location
Press 2nd MATH to enter the MATH popup menu.
Press 7 to enter the Probability submenu.
Press 6 to...
Command Summary
Converts an angle to radians, if necessary.
Command Syntax
angle r
Menu Location
Press 2nd MATH to enter the MATH popup menu.
Press 2 to enter the Angle submenu.
Press 2 to...
Command Summary
Returns the remainder of a division.
Command Syntax
remain(dividend,divisor)
Menu Location
Press 2nd MATH to enter the math popup menu.
Press 1 to enter the Number submenu.
Press...
Command Summary
Returns a subsection from the right of a list or string, or the right hand side of an equation.
Command Syntax
right(equation)
right(list-or-string,length)
Menu Location
Press...
Command Summary
Takes the nth root of a value.
Command Syntax
root(value,n)
Menu Location
Press 2nd MATH to enter the MATH popup menu.
Press 1 to enter the Number submenu.
Press D to select...
Command Summary
Rotates a string, list, or binary integer.
Command Syntax
rotate(object,places)
Menu Location
Press 2nd MATH to enter the MATH menu.
Press E to enter the Base submenu.
Press C to...
Command Summary
Takes the secant of a number (usually, an angle).
Command Syntax
sec(angle)
Menu Location
Press 2nd MATH to enter the MATH popup menu.
Press A to enter the Trig submenu.
Press 5...
Command Summary
Takes the hyperbolic secant of a number.
Command Syntax
sech(value)
Menu Location
Press 2nd MATH to enter the MATH menu.
Press C to enter the Hyperbolic submenu.
Press 5 to...
Command Summary
Creates a list by evaluating a formula over a range of values.
Command Syntax
seq(formula,variable,start,end[,step-size]
Menu Location
Press 2nd MATH to enter the MATH popup...
Command Summary
Sets the default date format.
Command Syntax
setDtFmt(format-number)
Menu Location
This command can't be found in any menu besides the command catalog.
Calculator...
Command Summary
Changes any of the graph settings.
Command Syntax
setGraph(setting,value)
Menu Location
This command can't be found in any menu besides the command catalog.
Calculator...
Command Summary
Changes one or more mode settings.
Command Syntax
setMode(setting,value)
setMode({set1,val1,…})
Menu Location
Starting in the program editor:
Press F6 to enter the Mode...
Command Summary
Sets the current time on the calculator's clock, returning the previous time setting.
Command Syntax
setTime(hours,minutes,seconds)
Menu Location
This command can't be found in...
Command Summary
Shifts the elements of a list, string, or binary integer.
Command Syntax
shift(object[,places])
Menu Location
Press 2nd MATH to enter the MATH popup menu.
Press E to enter the...
Command Summary
Displays the results of an earlier statistics command.
Command Syntax
ShowStat
Menu Location
Press 2nd MATH to enter the MATH popup menu.
Press 6 to enter the Statistics...
Command Summary
Takes the sine of a number (usually, an angle).
Command Syntax
sin(angle)
Menu Location
Press the SIN button to enter sin(.
Calculator Compatibility
This command works on all...
Command Summary
Takes the hyperbolic sine of a number.
Command Syntax
sinh(value)
Menu Location
Press 2nd MATH to enter the MATH menu.
Press C to enter the Hyperbolic submenu.
Press 1 to select...
Command Summary
Returns the value of the system clock.
Command Syntax
startTmr()
Menu Location
This command can't be found in any menu besides the command catalog.
Calculator Compatibility
This...
Command Summary
Converts any expression to a string.
Command Syntax
string(expression)
Menu Location
Press 2nd MATH to enter the MATH popup menu.
Press D to enter the String submenu.
Press 1 to...
Command Summary
Takes the tangent of a number (usually, an angle).
Command Syntax
tan(angle)
Menu Location
Press the TAN button to enter tan(.
Calculator Compatibility
This command works on all...
Command Summary
Takes the hyperbolic tangent of a number.
Command Syntax
tanh(value)
Menu Location
Press 2nd MATH to enter the MATH menu.
Press C to enter the Hyperbolic submenu.
Press 3 to...
Command Summary
Displays a line of text in a dialog box.
Command Syntax
Text string of text
Menu Location
Starting in the program editor:
Press F3 to enter the I/O menu.
Press 1 to enter the...
Command Summary
Supplies the title text in one of several types of menus.
Command Syntax
Title text
or (with ToolBar only)
Title text-or-icon[,label]
Menu Location
Starting in the program...
Command Summary
Creates a toolbar menu and waits for input.
Command Syntax
:ToolBar
(list of titles and items)
:EndTBar
Menu Location
Starting in the program editor:
Press F3 to enter the I/O...
Command Summary
Catches errors that occur in a block of code.
Command Syntax
:Try
(block of code)
:Else
(error-catching code)
:EndTry
Menu Location
Starting in the program editor:
Press F2 to...
Command Summary
Chooses between two values based on a condition.
Command Syntax
when(condition,if-true,if-false,[if-undef]])
Menu Location
Starting in the program editor:
Press F2 to enter the...
Command Summary
Repeats a block of code as long as a condition is met
Command Syntax
:While condition
(block of code)
:EndWhile
Menu Location
Starting in the program editor:
Press F2 to enter...
Command Summary
Tests if exactly one of two conditions is true.
Can also be used as a bitwise "xor" on integers.
Command Syntax
condition1 xor condition2
integer1 xor integer2
Menu...
Command Summary
Sets the window variables to their default settings.
Command Syntax
ZoomStd
Menu Location
This command can't be found in any menu besides the command catalog.
Calculator...
Getting Involved
A site can only grow and thrive through the continual efforts of its members. If you have found this site useful, we encourage you to contribute and become part of our...
The OS version 2.07 update introduced several commands for dealing with times and dates. Some of these rely on the built-in clock, while others are used for formatting.
TI-84+ programmers will not...
Although commands and expressions on the TI-89 can be typed in character by character, that is not how they are stored internally. The first time you run a function or program, they are encoded in...
Tunnel Racer is a game of reaction in which you race through a twisting tunnel, trying to avoid crashing. By pressing the arrow keys, the player moves left and right. ESC exits the game.
This game...
The Unarchiv command removes a variable from flash ROM.
Prgm
© //assuming //var1// and //var2// are actual variables//
archive var1,var2
isarchiv(var1)»check
disp check
pause
unarchive...
The unlock command unlocks locked variables. It is paired with the lock command.
lock var1,var2
unlock var1,var2
Imagine you are using a program for the first time. You have no prior knowledge about the program; someone just put the program on your calculator without giving you any instructions and now you...
It's the goal of this site to eventually cover all information on TI-Basic programming for the 68k calculators. However, an excess of information can be overwhelming. So this page gives a suggested...
Choosing a good variable name is important. The calculator gives you eight characters of freedom in choosing a variable name, which can be put to good use by describing the purpose of the...
TI-Basic History
Texas Instruments has included TI-Basic support with each graphing calculator (starting with the TI-81), and the TI-Basic language has evolved along with the calculators (adding...
Because there are several people contributing to this wiki, and each person undoubtedly has their own opinion and idea on how to format the content, we have come up with some conventions to use....
Unfortunately, the rich vocabulary of wiki syntax doesn't allow to properly display a command in titles and code blocks. When this happens, the offending page will link here so we can properly...
After spending lots of time planning a program, then coding it, and finally optimizing it, the next move for many people is to call the program "done" and release it to one of the major TI sites...