How Strings Are Used - Texas Instruments Voyage 200 User Manual

Graphing calculator
Hide thumbs Also See for Voyage 200:
Table of Contents

Advertisement

How Strings Are Used

How Strings Are Used
How Strings Are Used
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
Although you cannot use a string such as "
a string into a numeric expression by using the
Programming
) automatically store user input as a string and
InputStr
" represents the characters "
61
" or "
61
2x+4
expr
" and "
6
" in a calculation, you can convert
command.
", not the
1
601

Advertisement

Table of Contents
loading

This manual is also suitable for:

Voyage 200 - voyage 200 calculator

Table of Contents