0b, 0h – Texas Instruments PLUS TI-89 User Manual
Page 556
Appendix A: Functions and Instructions 539
8992APPA.DOC TI-89 / TI-92 Plus: Appendix A (US English) Susan Gullord Revised: 02/23/01 1:48 PM Printed: 02/23/01 2:21 PM Page 539 of 132
!
(store)
§
key
expression
! var
list
! var
matrix
! var
expression ! fun_name(parameter1,...)
list
! fun_name(parameter1,...)
matrix
! fun_name(parameter1,...)
If variable
var
does not exist, creates
var
and
initializes it to
expression
,
list
, or
matrix
.
If
var
already exists and if it is not locked or
protected, replaces its contents with
expression
,
list
, or
matrix
.
Hint:
If you plan to do symbolic
computations using undefined variables,
avoid storing anything into commonly used,
one-letter variables such as a, b, c, x, y, z, etc.
p/4! myvar ¸
p
4
2cos(x)! Y1(x) ¸
Done
{1,2,3,4}! Lst5 ¸
{1 2 3 4}
[1,2,3;4,5,6]! MatG ¸
[
1 2 3
4 5 6
]
"Hello"! str1 ¸
"Hello"
¦
(comment)
Program Editor/Control menu or
TI
-
89:
¥
d
key
TI
-
92 Plus:
2
X key
¦
[
text
]
¦
processes
text
as a comment line, which
can be used to annotate program
instructions.
¦ can be at the beginning or anywhere in the
line. Everything to the right of ¦, to the end
of the line, is the comment.
Program segment:
©
:¦
Get 10 points from the Graph
screen
:For i,1,10 ¦
This loops 10
times
©
0b, 0h
TI
-
89:
µ
j
[B] keys TI
-
92 Plus:
µ
B keys
TI
-
89:
µ
j
[H] keys TI
-
92 Plus:
µ
H keys
0b
binaryNumber
0h
hexadecimalNumber
Denotes a binary or hexadecimal number,
respectively. To enter a binary or hex
number, you must enter the 0b or 0h
prefix regardless of the
Base
mode.
Without a prefix, a number is treated as
decimal (base 10).
Results are displayed according to the
Base
mode.
In Dec base mode:
0b10+0hF+10 ¸
27
In Bin base mode:
0b10+0hF+10 ¸
0b11011
In Hex base mode:
0b10+0hF+10 ¸
0h1B