Appendix d: programmer’s guide – Texas Instruments PLUS TI-89 User Manual

Page 600

Advertising
background image

Appendix D: Programmer’s Guide 583

8992APPD.DOC Appendix D Susan Gullord Revised: 02/23/01 1:57 PM Printed: 02/23/01 2:25 PM Page 583 of 8

Appendix D:
Programmer’s Guide

setMode( ) and getMode( ) ................................................................... 584
setGraph( ) .............................................................................................. 587
setTable( ) ............................................................................................... 589

The parameter/mode strings used in the

setMode( )

,

getMode( )

,

setGraph( )

, and

setTable( )

functions do not translate into other

languages when used in a program. For example, when you write
a program in the French

Language

mode then switch to the Italian

Language

mode, the program will produce an error. To avoid this

error, you must substitute digits for the alpha characters. These
digits operate in all languages. This appendix contains the digit
substitutions for these strings.

The following examples show how to substitute digits in the

setMode( )

function.

Example 1: A program using alpha parameter/mode strings:

setMode

("

Graph

"

,

"

Sequence

")

Example 2: The same program, substituting digits for those
strings:

setMode

("

1

"

,

"

4

")

D

Advertising
This manual is related to the following products: