Difference between revisions of "Category:83Plus:Basic:84NewTokens"

From WikiTI
Jump to: navigation, search
Line 16: Line 16:
 
== ClockOn ==
 
== ClockOn ==
 
* Hex: $EF10
 
* Hex: $EF10
 +
* Function: Turns the clock on, with default time
  
 
== dayOfWk( ==
 
== dayOfWk( ==
 
* Hex: $EF06
 
* Hex: $EF06
 +
* Function: Returns a number which indicates what day of the week it is
  
 
== ExecLib ==
 
== ExecLib ==
Line 26: Line 28:
 
== getDate ==
 
== getDate ==
 
* Hex: $EF09
 
* Hex: $EF09
 +
* Function: Returns the current date in a list
 +
* Syntax: getDate→⌊ALIST
 +
** The format the list is in the following format, regardless of getDtFmt: {<i>year</i>,<i>month</i>,<i>day</i>}
  
 
== getDtFmt ==
 
== getDtFmt ==
 
* Hex: $EF0C
 
* Hex: $EF0C
 +
* Function: Returns a number which tells you what date format the user has requested to use on the MODE screen.
 +
* Syntax: getDtFmt&rarr;[a variable]
  
 
==getDtStr ==
 
==getDtStr ==

Revision as of 17:44, 6 April 2006


The TI-84(SE) has several new tokens. These tokens will not work on the 83's.

Tokens

checkTmr(

  • Hex: $EF02
  • Function: Returns a decimal value of clock port
  • Syntax: checkTmr(offset
    • offset is a decimal number to add to the value returned. You should really have this set to 0.

ClockOff

  • Hex: $EF0F
  • Function: Turns the clock off
  • Syntax: ClockOff

ClockOn

  • Hex: $EF10
  • Function: Turns the clock on, with default time

dayOfWk(

  • Hex: $EF06
  • Function: Returns a number which indicates what day of the week it is

ExecLib

  • Hex: $EF12
  • Notes: This is used with OpenLib(, for which there are no apps currently making use of.

getDate

  • Hex: $EF09
  • Function: Returns the current date in a list
  • Syntax: getDate→⌊ALIST
    • The format the list is in the following format, regardless of getDtFmt: {year,month,day}

getDtFmt

  • Hex: $EF0C
  • Function: Returns a number which tells you what date format the user has requested to use on the MODE screen.
  • Syntax: getDtFmt→[a variable]

getDtStr

  • Hex: $EF07

getTime

  • Hex: $EF0A

getTmFmt

  • Hex: $EF0D

getTmStr(

  • Hex: $EF08

isClockOn

  • Hex: $EF0E

OpenLib(

  • Hex: $EF11

setDate(

  • Hex: $EF00

setDtFmt(

  • Hex: $EF03

setTime(

  • Hex: $EF01

setTmFmt(

  • Hex: $EF04

startTmr

  • Hex: $EF0B

timeCnv(

  • Hex: $EF05

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.