Texas Instruments TI-89 User Manual - Page 825
Integer values, Optional integer values, MATH/Algebra/Extract menu, CATALOG
UPC - 033317196326
View all Texas Instruments TI-89 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 825 highlights
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)) ¸ getDenom(2/7) ¸ getDenom(1/x+(y^2+y)/y^2) ¸ y ì3 7 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 getFold() ¸ Returns the name of the current folder as a string. getFold()! oldfoldr ¸ oldfoldr ¸ "main" "main" "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 Appendix A: Functions and Instructions 825