EasyManuals Logo

Texas Instruments TI-89 Tip List

Texas Instruments TI-89
507 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 #346 background image
Up to ten control characters may be used in a single format_string. This example shows a
format_string which contains both control characters and text:
char(174)c
util\write(50,40,{c&" and "&c,"(x^2+y^3)/(z)","^(x)"})
In this case format_string is built by concatenating the control characters with the text using the "&"
operator, with the expression c&" and "&c, which results in the string "® and ®". Since there are two
control characters, the list must include two expressions. In general, the number of expressions must
equal the number of control characters.
This syntax for write() can also be used to display pretty-print expressions on multiple lines. Each
format_string starts a new display line, as this example shows:
char(174)c
util\write(50,20,{c&" and "&c,"(x^2+y^3)/(z)","^(x)",c,"a*x^2+b*x+c"})
Note that the second format_string, which is just c, causes the third expression to be displayed on a
new line.
Finally, this syntax can also be used to display text on some lines, and expressions on others. This
example shows the text "Equations:" on the line before the expressions:
char(174)c
util\write(50,10,{"Equations:",c&" and "&c,"(x^2+y^3)/(z)","^(x)",c,"a*x^2+b*x+c"})
7 - 57

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