192 Appendix A: Functions and Instructions
getDate() CATALOG
getDate() ⇒
list
Returns a list giving the date according to the
current value of the clock. The list is in
{
year,month,day
} format.
getDate() ¸ {2002 2 22}
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"