Page 23-1
Chapter 23
Character strings
Character strings are calculator objects enclosed between double quotes. They
are treated as text by the calculator. For example, the string “SINE
FUNCTION”, can be transformed into a GROB (Graphics Object), to label a
graph, or can be used as output in a program. Sets of characters typed by the
user as input to a program are treated as strings. Also, many objects in
program output are also strings.
String-related functions in the TYPE sub-menu
The TYPE sub-menu is accessible through the PRG (programming) menu, i.e.,
„°
. The functions provided in the TYPE sub-menu are also shown below.
Among the functions in the TYPE menu that are useful for manipulating strings
we have:
OBJ
: Converts string to the object it represents
STR: Converts an object to its string representation
TAG: Tags a quantity
DTAG: Removes the tag from a tagged quantity (de-tags)
CHR:
Creates a one-character string corresponding to the number used as
argument
NUM: Returns the code for first character in a string
Examples of application of these functions to strings are shown next:
Summary of Contents for 50G
Page 1: ...HP g graphing calculator user s guide H Edition 1 HP part number F2229AA 90006 ...
Page 130: ...Page 2 70 The CMDS CoMmanDS menu activated within the Equation Writer i e O L CMDS ...
Page 206: ...Page 5 29 LIN LNCOLLECT POWEREXPAND SIMPLIFY ...
Page 257: ...Page 7 20 ...
Page 383: ...Page 11 56 Function KER Function MKISOM ...
Page 715: ...Page 21 68 Whereas using RPL there is no problem when loading this program in algebraic mode ...
Page 858: ...Page L 5 ...