Programming
586
Although you cannot use a string such as "
61
" or "
2x+4
" in a calculation, you can convert
a string into a numeric expression by using the
expr
command.
String Commands
Note:
See the
Technical Reference
module for syntax for all commands and functions.
Command
Description
#
Converts a string into a variable name. This is called
indirection.
&
Appends (concatenates) two strings into one string.
char
Returns the character that corresponds to a specified
character code. This is the opposite of the
ord
command.
dim
Returns the number of characters in a string.
expr
Converts a string into an expression and executes that
expression. This is the opposite of the
string
command.
Important:
Some user input commands store the entered
value as a string. Before you can perform a mathematical
operation on that value, you must convert it to a numeric
expression.
format
Returns an expression as a character string based on the
format template (fixed, scientific, engineering, etc.)
inString
Searches a string to see if it contains a specified substring. If
so,
inString
returns the character position where the first
occurrence of the substring begins.
left
Returns a specified number of characters from the left side
(beginning) of a string.
Содержание Titanium TI-89
Страница 9: ...Getting Started 6 TI 89 Titanium keys Ë Ì Í Ê ...
Страница 34: ...Getting Started 31 2 or D 2 B u s i n e s s D B D B Press Result ...
Страница 43: ...Getting Started 40 3 0 D B D D B D Press Result ...
Страница 44: ...Getting Started 41 D 2 0 0 2 D B Scroll down to October and press Press Result ...
Страница 58: ...Getting Started 55 Example Set split screen mode to TOP BOTTOM Press Result 3 B D ...
Страница 70: ...Getting Started 67 ...
Страница 175: ...Operating the Calculator 172 From the Keyboard ...
Страница 456: ...Tables 453 ...
Страница 503: ...Split Screens 500 Note Both Top Bottom and Left Right splits use the same methods to select an application ...
Страница 527: ...Data Matrix Editor 524 ...
Страница 704: ...Connectivity 701 A TI 89 Titanium and a Voyage 200 linked together I O Port I O Port I O unit to unit cable ...