Sendchat, Seq(), Setdate() – Texas Instruments TITANIUM TI-89 User Manual

Page 869: Setdtfmt(), Appendix a: functions and instructions 869

Advertising
background image

Appendix A: Functions and Instructions

869

@

SendCalc

var[,port

]

Sends contents of

var

from a TI-89 Titanium to

another TI-89 Titanium.

If the port is not specified, or

port = 0

is specified,

the TI-89 Titanium sends data using the USB port
if connected, if not, it will send using the I/O port.

If

port = 1

, the TI-89 Titanium sends data using

the USB port only.

If

port = 2

, the TI-89 Titanium sends data using

the I/O port only.

SendChat

CATALOG

SendChat

var

A general alternative to

SendCalc

, this is useful

if the receiving unit is a TI

-92 (or for a generic

"chat" program that allows either a TI

-92,

Voyage™ 200, or TI

-92 Plus to be used). Refer to

SendCalc

for more information.

SendChat

sends a variable only if that variable is

compatible with the TI

-92, which is typically true

in "chat" programs. However,

SendChat

will not

send an archived variable, a TI

-89 graph data

base, etc.

Program segment:

©

:a+b! x

:SendChat x

©

seq()

MATH/List menu

seq(

expression

,

var

,

low

,

high

[,

step

])

list

Increments

var

from

low

through

high

by an

increment of

step

, evaluates

expression

, and

returns the results as a list. The original contents
of

var

are still there after

seq()

is completed.

var

cannot be a system variable.

The default value for

step =

1.

seq(n^2,n,1,6)

¸

{1 4 9 16 25 36}

seq(1/n,n,1,10,2)

¸

{1 1/3 1/5 1/7 1/9}

sum(seq(1àn^2,n,1,10,1))

¸

196...
127...

or press ¥ ¸ to get:

1.549...

setDate()

CATALOG

setDate(

year,month,day

)

listold

Sets the clock to the date given in the argument
and returns a list. (Note: The

year

must fall in the

range 1997 - 2132.) The returned list is in
{

yearold,monthold,dayold

} format. The returned date

is the previous clock value.

Enter the year as a four-digit integer. The month
and day can be either one- or two-digit integers.

setDate(2001,10,31)

¸

{2001 11 1}

setDtFmt()

CATALOG

setDtFmt(

integer

)

integerold

Sets the date format for the desktop according to
the argument and returns the previous date
format value.

Integer values:

1 = MM/DD/YY 5 = YY.MM.DD

2 = DD/MM/YY 6 = MM-DD-YY

3 = MM.DD.YY 7 = DD-MM-YY

4 = DD.MM.YY 8 = YY-MM-DD

Advertising