EasyManuals Logo

Texas Instruments TI-89 Guide Book

Texas Instruments TI-89
623 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #471 background imageLoading...
Page #471 background image
454 Appendix A: Functions and Instructions
8992APPA.DOC TI-89 / TI-92 Plus: Appendix A (US English) Susan Gullord Revised: 02/23/01 1:48 PM Printed: 02/23/01 2:21 PM Page 454 of 132
getType()
CATALOG
getType(
var
)
⇒
string
Returns a string indicating the data type of
variable
var
.
If
var
has not been defined, returns the string
"
NONE
".
{1,2,3}
!
temp
¸
{1 2 3}
getType
(
temp
)
¸
"LIST"
2+3
i
!
temp
¸
2
+
3
i
getType
(
temp
)
¸
"EXPR"
DelVar temp
¸
Done
getType
(
temp
)
¸
"NONE"
Data Type Variable Contents
"ASM" Assembly-language program
"DATA" Data type
"EXPR" Expression (includes complex/arbitrary/undefined,
ˆ
,
ë
ˆ
, TRUE,
FALSE, pi,
e
)
"FUNC" Function
"GDB" Graph data base
"LIST" List
"MAT" Matrix
"NONE" Variable does not exist
"NUM" Real number
"OTHER" Miscellaneous data type for future use by software applications
"PIC" Picture
"PRGM" Program
"STR" String
"TEXT" Text type
"VAR" Name of another variable
getUnits()
CATALOG
getUnits()
⇒
list
Returns a list of strings that contain the
current default units for all categories except
constants, temperature, amount of substance,
luminous intensity, and acceleration.
list
has
the form:
{"
system
" "
cat1
" "
unit1
" "
cat2
" "
unit2
" …}
The first string gives the system (
SI
,
ENG/US
,
or
CUSTOM
). Subsequent pairs of strings give
a category (such as Length) and its default
unit (such as _m for meters).
To set the default units, use
setUnits()
.
getUnits()
¸
{
"SI" "
A
rea" "NONE"
"Capacitance" "_F"
"C
h
arge" "_cou
l
"
…
}
Note: Your screen may display different
default units.

Table of Contents

Other manuals for Texas Instruments TI-89

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TI-89 and is the answer not in the manual?

Texas Instruments TI-89 Specifications

General IconGeneral
Display size (HxV)100 x 160 mm
Memory type639K FLASH ROM, 188K bytes RAM
Compatible operating systemsOperating System 2.09
Battery typeAAA

Related product manuals