Application Guide
tExpand()
Catalog >
Note: Degree-mode scaling by π/180
interferes with the ability of tExpand() to
recognize expandable forms. For best
results, tExpand() should be used in Radian
mode.
Text
Catalog >
TextpromptString[, DispFlag]
Programming command: Pauses the
program and displays the character string
promptString in a dialog box.
When the user selects OK, program
execution continues.
The optional flag argument can be any
expression.
• If DispFlag is omitted or evaluates to 1,
the text message is added to the
Calculator history.
• If DispFlag evaluates to 0, the text
message is not added to the history.
If the program needs a typed response from
the user, refer to Request, page 150, or
RequestStr, page 151.
Note: You can use this command within a
user-defined program but not within a
function.
Define a program that pauses to display
each of five random numbers in a dialog
box.
Withinthe Prgm...EndPrgm template,
complete each line by pressing @ instead
of ·. On the computer keyboard, hold
down Alt and press Enter.
Define text_demo()=Prgm
For i,1,5
strinfo:=”Random number “&
string(rand(i))
Text strinfo
EndFor
EndPrgm
Run the program:
text_demo()
Sample of one dialog box:
Then
See If, page 87.
tInterval
Catalog >
tInterval List[, Freq[, CLevel]]
(Data list input)
Alphabetical Listing 187