[MrGibson.com TI Home]
[MrGibson.com Home]
TI-89 (68k series) BASIC
For the:
TI-89
TI-89 Ti
TI-92
TI-92 II
TI-92 Plus
TI Voyage 200
For the era of TI Motorola 68K powered modern handheld calculators/computers!
abs()
The abs() command returns the absolute value of an expression. The absolute
value of a real number is the number of units from 0 the number is. The
absolute value of 9 for example is 9 because it is that many units away from
zero. The absolute value of -9 however is 9.
abs() will always return a positive value.
Examples:
:abs(7)
returns 7
:abs(-7)
returns 7
:1→i
:abs(3+4i)
returns 7
and
The and operator combines two conditions into one, which will be true if both
sides are true, and false otherwise. You can create these conditions with the
relational operators =, ≠, >, ≥, <, and ≤, with functions such as isPrime(),
pxlTest(), and ptTest(), or with any other expression that returns 'true' or
'false'. Other operators for dealing with conditions are or, xor, and not.
:2+2=4 and 1=0
false
:2+2=4 and 1+1=2
true
The operator can also be applied to integers, treating them as 32-bit signed
integers (larger integers will be truncated to fit) expressed in binary. The
bits will be matched up, and "and" will be applied to the bits individually
— a bit in the result will be 1 if the two corresponding bits of the original
integers were 1, and 0 otherwise.
X or Y and Z
will be interpreted as:
X or (Y and Z)
AndPic
The AndPic command logically takes the picture variable specified, and takes
the current graph, and it finds the points at which both the graph and the
picture have pixels, and it displays them only. If specified, [row,column]
tells where the top left corner of the picture is to be placed.
If not specified, the default is (0,0), which is the top left corner of the
screen.
angle()
Command returns the angle of a complex number.
ans()
The Ans(x) holds the last answers that were stored.
if x=1 then first answer, x=2 then second, ect.
approx()
The approx() command forces an expression to be evaluated in approximate mode,
temporarily ignoring the mode setting.
Example:
:approx(π)
returns 3.14159265359
arcLen()
augment()
when lists are used as arguments, a list is returned that is list2 appended
to list1
Example:
:augment({1,⁻3,2},{5,4})
avgRC()
BldData
ceiling()
cFactor()
char()
The char() command converts an integer between 0 and 255 to the corresponding
ASCII character.
Circle
The Circle command allows a person to draw a circle on the graphscreen. It
can be drawn using the given keystrokes, or it can be called at the homecreen
by typing it out.
Example:
Circle 0,0,5
Will draw a circle with a center of (0,0) and a radius of five.
ClrDraw
The ClrDraw command is useful clearing away something drawn on the graph screen
ClrErr
ClrGraph
ClrHome
Resets the cursor position to the top left corner of the home screen.
ClrIO
This is used to clear the IO buffer (not the home screen). The IO buffer is
where any Output(), Disp, Pause, and any other commands that use the I/O buffer
display results.
Example:
:hellowld()
:Prgm
:ClrIO
:Disp "HELLO, WORLD!"
:Pause
:ClrIO
:DispHome
:EndPrgm
ClrTable
colDim()
colNorm()
comDenom()
conj()
CopyVar
cos()
cosh()
crossP()
cSolve()
CubicReg
cumSum()
CustmOff
CustmOn
Custom
Cycle
CyclePic
cZeros()
d()
Define
DelFold
DelVar
deSolve()
det()
diag()
Dialog
dim()
Disp
Disp, short for display, prints to the screen.
Example:
:hellowld()
:Prgm
:ClrIO
:Disp "HELLO, WORLD!"
:Pause
:ClrIO
:DispHome
:EndPrgm
DispG
DispHome
DispTbl
dotP()
DrawFunc
DrawInv
DrawParm
DrawPol
DrawSlp
DropDown
DrwCtour
eigVc()
eigVl()
Else
ElseIf
EndCustm
EndDlog
EndFor
EndFunc
EndIf
EndLoop
EndPrgm
EndTBar
EndTry
EndWhile
entry()
exact()
Exec
Exit
expand()
expr()
ExpReg
factor()
Fill
floor()
fMax()
fMin()
FnOff
FnOn
For
format()
fPart()
Func
gcd()
Get
GetCalc
getConfg()
getDenom()
getFold()
getKey()
getMode()
getNum()
getType()
getUnits()
Goto
Graph
identity()
If
imag()
Input
Example:
factui()
:Prgm
: Local n
: Define fact(x)=Func
: If x=0
: Return 1
: Return x*fact(x-1)
: EndFunc
: Input "Input a number", n
: Disp "n! = "
: Disp fact(n)
:EndPrgm
InputStr
The InputStr command allows you to input a string to a variable. Since Input
doesn't support the storing of strings into variables, you have to use this
command to do that. Keep in mind that the inputted variable cannot be the name
of a preexisting variable or flash application that is locked, protected, or
archived. For example, if you had a program named "a" or "hello", the command
wouldn't work because it is already in use.
Examples:
:InputStr A
:InputStr hello
inString()
int()
intDiv()
iPart()
isPrime()
Item
Lbl
lcm()
left()
limit()
Line
LineHorz
LineTan
LineVert
LinReg
ln()
LnReg
Local
Lock
log()
Logistic
Loop
LU
max()
mean()
median()
MedMed
mid()
min()
mod()
MoveVar
mRow()
mRowAdd()
nCr()
nDeriv()
NewData
NewFold
newList()
newMat()
NewPic
NewPlot
NewProb
nInt()
norm()
not
nPr()
nSolve()
OneVar
or
ord()
Output
part()
PassErr
Pause
Pauses the execution of the code.
Example:
:hellowld()
:Prgm
:ClrIO
:Disp "HELLO, WORLD!"
:Pause
:ClrIO
:DispHome
:EndPrgm
PlotsOff
PlotsOn
polyEval()
PopUp
PowerReg
Prgm
product()
Prompt
propFrac()
PtChg
PtOff
PtOn
ptTest()
PtText
PxlChg
PxlCrcl
PxlHorz
PxlLine
PxlOff
PxlOn
pxlTest()
PxlText
PxlVert
QR
QuadReg
QuartReg
rand()
randMat()
randNorm()
randPoly()
RandSeed
RclGDB
RclPic
real()
ref()
remain()
Rename
Request
Return
right()
rotate()
round()
rowAdd()
rowDim()
rowNorm()
rowSwap()
RplcPic
rref()
Send
SendCalc Flash
SendChat
seq()
setFold()
setGraph()
setMode()
setTable()
setUnits()
Shade
shift()
ShowStat
sign()
simult()
sin()
sinֿ¹()
sinh()
sinhֿ¹()
SinReg
solve()
SortA
SortD
stdDev()
StoGDB
Stop
StoPic
string()
Style
subMat()
sum()
switch()
Table
tan()
tanh()
taylor()
tCollect()
tExpand()
Text
Then
Title
tmpCnv()
ToolBar
Trace
Try
TwoVar
Unarchiv Flash
unitV()
Unlock
variance()
when()
While
xor
XorPic
zeros()
ZoomBox
ZoomData
ZoomDec
ZoomFit
ZoomIn
ZoomInt
ZoomOut
ZoomPrev
ZoomRcl
ZoomSqr
ZoomStd
ZoomSto
ZoomTrig