Appendix A: Functions and Instructions
801
getDenom()
MATH/Algebra/Extract menu
getDenom(
expression1
)
⇒
expression
Transforms
expression1
into one having a reduced
common denominator, and then returns its
denominator.
getDenom((x+2)/(y
ì
3))
¸
y
ì
3
getDenom(2/7)
¸
7
getDenom(1/x+(y^2+y)/y^2)
¸
x
ø
y
getDtFmt()
CATALOG
getDtFmt()
⇒
integer
Returns an integer representing the date format that
is currently set on the device.
Integer values:
1 = MM/DD/YY
2 = DD/MM/YY
3 = MM.DD.YY
4 = DD.MM.YY
5 = YY.MM.DD
6 = MM-DD-YY
7 = DD-MM-YY
8 = YY-MM-DD
getDtStr()
CATALOG
getDtStr(
[
integer]
)
⇒
string
Returns a string of the current date in the current
date format. For example, a returned string of
28/09/02
represents the 28th day of September,
2002 (when the date format is set to
DD/MM/YY
).
If you enter the optional integer that corresponds to
a date format, the string returns the current date in
the specified format.
Optional integer values:
1 = MM/DD/YY
2 = DD/MM/YY
3 = MM.DD.YY
4 = DD.MM.YY
5 = YY.MM.DD
6 = MM-DD-YY
7 = DD-MM-YY
8 = YY-MM-DD
getFold()
CATALOG
getFold()
⇒
nameString
Returns the name of the current folder as a string.
getFold()
¸
"main"
getFold()
!
oldfoldr
¸
"main"
oldfoldr
¸
"main"
getKey()
CATALOG
getKey()
⇒
integer
Returns the key code of the key pressed. Returns 0
if no key is pressed.
The prefix keys (shift
¤
,
second function
2
,
option
¥
, alpha
j
, and drag
‚
) are not
recognized by themselves; however, they modify
the keycodes of the key that follows them. For
example:
¥ Ù
ƒ
Ù
ƒ
2 Ù
.
For a listing of key codes, see Appendix B.
Program listing:
:Disp
:Loop
: getKey()
!
key
: while key=0
: getKey()
!
key
: EndWhile
: Disp key
: If key = ord("a")
: Stop
:EndLoop
Содержание Titanium TI-89
Страница 9: ...Getting Started 6 TI 89 Titanium keys Ë Ì Í Ê ...
Страница 34: ...Getting Started 31 2 or D 2 B u s i n e s s D B D B Press Result ...
Страница 43: ...Getting Started 40 3 0 D B D D B D Press Result ...
Страница 44: ...Getting Started 41 D 2 0 0 2 D B Scroll down to October and press Press Result ...
Страница 58: ...Getting Started 55 Example Set split screen mode to TOP BOTTOM Press Result 3 B D ...
Страница 70: ...Getting Started 67 ...
Страница 175: ...Operating the Calculator 172 From the Keyboard ...
Страница 456: ...Tables 453 ...
Страница 503: ...Split Screens 500 Note Both Top Bottom and Left Right splits use the same methods to select an application ...
Страница 527: ...Data Matrix Editor 524 ...
Страница 704: ...Connectivity 701 A TI 89 Titanium and a Voyage 200 linked together I O Port I O Port I O unit to unit cable ...