Calculators Ti89: display text and variable

with ti89, how can i display both text and variable on the same line?
i tried
"the answer is " + b
and a bunch of other things but nothing has worked so far

it said somewhere on tnhe internet that i can do:
"the answer is " b
but when i run the program all you see is
7 "the answer is "
instead of
the answer is 7
then when go back to edit the code it is automatically set to
"the answer is "*b
Last edited:
I think the TI-89 treats "expA expB" as a request to multiply expA and expB together.

It's been awhile but what I suggest doing is converting b to a string, then adding it to your normal string. So like it would be

"the answer is " + string(b)

"string" may not be the name of the conversion function but there must be some way to go number->string.
ok that doesnt work either but i finally did find out. pretty much what you have, except instead of + you have to use &

The Physics Forums Way

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving