Texas Instruments TI-89 Titanium User Manual page 588

Hide thumbs Also See for TI-89 Titanium:
Table of Contents

Advertisement

String Operations
Strings are used to enter and display text characters. You can type a string directly, or
you can store a string to a variable.
How Strings Are Used
A string is a sequence of characters enclosed in "quotes." In programming, strings allow
the program to display information or prompt the user to perform some action. For
example:
Disp "The result is",answer
– or –
Input "Enter the angle in degrees",ang1
– or –
"Enter the angle in degrees"!str1
Input str1,ang1
Some input commands (such as
do not require the user to enter quotation marks.
A string cannot be evaluated mathematically, even if it appears to be a numeric
expression. For example, the string "
number
.
61
Programming
) automatically store user input as a string and
InputStr
" represents the characters "
61
" and "
", not the
6
1
585

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents