Difference between revisions of "Category:83Plus:Basic:84NewTokens"
From WikiTI
Line 7: | Line 7: | ||
* Syntax: checkTmr(<i>offset</i> | * Syntax: checkTmr(<i>offset</i> | ||
** offset is a decimal number to add to the value returned. You should really have this set to 0. | ** offset is a decimal number to add to the value returned. You should really have this set to 0. | ||
− | * | + | * Returns: Decimal value of clock ports |
== ClockOff == | == ClockOff == | ||
Line 26: | Line 26: | ||
* Hex: $EF09 | * Hex: $EF09 | ||
* Syntax: getDate→<i>⌊ALIST</i> | * Syntax: getDate→<i>⌊ALIST</i> | ||
− | * | + | * Returns: {<i>year</i>,<i>month</i>,<i>day</i>} (regardless of getDtFmt) |
== getDtFmt == | == getDtFmt == | ||
* Hex: $EF0C | * Hex: $EF0C | ||
* Syntax: getDtFmt→<i>[a variable]</i> | * Syntax: getDtFmt→<i>[a variable]</i> | ||
− | * | + | * Returns: A number which tells you what date format the user has requested to use on the MODE screen. |
==getDtStr( == | ==getDtStr( == | ||
Line 40: | Line 40: | ||
== getTime == | == getTime == | ||
* Hex: $EF0A | * Hex: $EF0A | ||
− | * | + | * Sintax: setTime→<i>⌊ALIST</i> |
+ | * Returns: A list, in the format: {<i>hour</i>,<i>minuet</i>,<i>second</i> | ||
== getTmFmt == | == getTmFmt == | ||
* Hex: $EF0D | * Hex: $EF0D | ||
+ | * Notes: Works alot like getDtFmt | ||
== getTmStr( == | == getTmStr( == | ||
* Hex: $EF08 | * Hex: $EF08 | ||
+ | * Syntax: '''unknown''' | ||
== isClockOn == | == isClockOn == | ||
* Hex: $EF0E | * Hex: $EF0E | ||
+ | * Notes: The way this one works, there is no need to include an =1 or =0. Just If isClockOn or If not(isClockOn) will do fine. | ||
== OpenLib( == | == OpenLib( == | ||
Line 56: | Line 60: | ||
== setDate( == | == setDate( == | ||
* Hex: $EF00 | * Hex: $EF00 | ||
+ | * Syntax: setDate(<i>year</i>,<i>month</i>,<i>day</i> | ||
+ | * Notes: DtFmt does not affect this. | ||
== setDtFmt( == | == setDtFmt( == | ||
* Hex: $EF03 | * Hex: $EF03 | ||
+ | * Notes: This is used to set the date format shown on the MODE screen | ||
== setTime( == | == setTime( == | ||
* Hex: $EF01 | * Hex: $EF01 | ||
+ | * Syntax: setTime(<i>hour</i>,<i>minuet</i>,<i>second</i> | ||
+ | * Notes: This does not care about TmFmt | ||
== setTmFmt( == | == setTmFmt( == | ||
* Hex: $EF04 | * Hex: $EF04 | ||
+ | * Notes: Changes the time time format shown on the MODE screen | ||
== startTmr == | == startTmr == | ||
* Hex: $EF0B | * Hex: $EF0B | ||
+ | * Notes: This works just like checkTmr(0), execpt smaller. | ||
== timeCnv( == | == timeCnv( == | ||
* Hex: $EF05 | * Hex: $EF05 | ||
− | + | * Syntax: timeCnv(<i>a number of seconds</i> | |
+ | * Returns: A list that converts the number of seconds into {<i>days</i>,<i>hours</i>,<i>minuets</i>,<i>seconds</i> | ||
+ | * Notes: You may wish to use this with checkTmr( to bump the time up or down a few seconds | ||
= Notes = | = Notes = | ||
Time is not a new token for the 84. | Time is not a new token for the 84. |
Revision as of 18:14, 6 April 2006
The TI-84(SE) has several new tokens. These tokens will not work on the 83's.
Contents
Tokens
checkTmr(
- Hex: $EF02
- Syntax: checkTmr(offset
- offset is a decimal number to add to the value returned. You should really have this set to 0.
- Returns: Decimal value of clock ports
ClockOff
- Hex: $EF0F
- Syntax: ClockOff
ClockOn
- Hex: $EF10
dayOfWk(
- Hex: $EF06
ExecLib
- Hex: $EF12
- Notes: This is used with OpenLib(, for which there are no apps currently making use of.
getDate
- Hex: $EF09
- Syntax: getDate→⌊ALIST
- Returns: {year,month,day} (regardless of getDtFmt)
getDtFmt
- Hex: $EF0C
- Syntax: getDtFmt→[a variable]
- Returns: A number which tells you what date format the user has requested to use on the MODE screen.
getDtStr(
- Hex: $EF07
- Syntax: getDtStr(date format
- I would presume date format is the same as the numbers used for getDtFmt
getTime
- Hex: $EF0A
- Sintax: setTime→⌊ALIST
- Returns: A list, in the format: {hour,minuet,second
getTmFmt
- Hex: $EF0D
- Notes: Works alot like getDtFmt
getTmStr(
- Hex: $EF08
- Syntax: unknown
isClockOn
- Hex: $EF0E
- Notes: The way this one works, there is no need to include an =1 or =0. Just If isClockOn or If not(isClockOn) will do fine.
OpenLib(
- Hex: $EF11
setDate(
- Hex: $EF00
- Syntax: setDate(year,month,day
- Notes: DtFmt does not affect this.
setDtFmt(
- Hex: $EF03
- Notes: This is used to set the date format shown on the MODE screen
setTime(
- Hex: $EF01
- Syntax: setTime(hour,minuet,second
- Notes: This does not care about TmFmt
setTmFmt(
- Hex: $EF04
- Notes: Changes the time time format shown on the MODE screen
startTmr
- Hex: $EF0B
- Notes: This works just like checkTmr(0), execpt smaller.
timeCnv(
- Hex: $EF05
- Syntax: timeCnv(a number of seconds
- Returns: A list that converts the number of seconds into {days,hours,minuets,seconds
- Notes: You may wish to use this with checkTmr( to bump the time up or down a few seconds
Notes
Time is not a new token for the 84.
Credits and Contributions
- /dev/mouse, for making my life easier
This category currently contains no pages or media.