Getcalc, Getconfg(), Getdate() – Texas Instruments TITANIUM TI-89 User Manual

Page 824: 824 appendix a: functions and instructions

Advertising
background image

824

Appendix A: Functions and Instructions

Get

CATALOG

Get

var

Retrieves a CBL 2

é (Calculator-Based

Laboratory

é) or CBRé (Calculator-Based

Ranger

é) value from the link port and stores it in

variable

var

.

Program segment:

©

:Send {3,1,ë 1,0}

:For i,1,99

: Get data[i]

: PtOn i,data[i]

:EndFor

©

GetCalc

CATALOG

GetCalc

var

Retrieves a value from the link port and stores it
in variable

var

. This is for unit-to-unit linking.

Note: To get a variable to the link port from
another unit, use 2 ° on the other unit
to select and send a variable, or do a

SendCalc

on the other unit.

Program segment:

©

:Disp "Press Enter when ready"

:Pause

:GetCalc L1

:Disp "List L1 received"

©

@

GetCalc

var[,port

]

Retrieves a value from the link port and stores it
in variable

var

on the receiving TI-89 Titanium.

If the port is not specified, or

port = 0

is specified,

the TI-89 Titanium waits for data from either
port.

If

port = 1

, the TI-89 Titanium waits for data from

the USB port.

If

port = 2

, the TI-89 Titanium waits for data from

the I/O port.

getConfg()

CATALOG

getConfg()

ListPairs

Returns a list of calculator attributes. The
attribute name is listed first, followed by its value.

getConfg()

¸

{"Product Name" "Advanced

Mathematics

Software"

"Version"

"2.00,

09/25/1999"

"Product

ID"

"03-1-4-68"

"ID #" "01012 34567 ABCD"

"Cert. Rev. #" 0

"Screen

Width"

160

"Screen

Height"

100

"Window

Width"

160

"Window

Height"

67

"RAM

Size"

262132

"Free

RAM"

197178

"Archive

Size"

655360

"Free

Archive"

655340}

Note: Your screen may display different
attribute values. The

Cert. Rev. #

attribute

appears only if you have purchased and
installed additional software into the calculator.

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}

Advertising