FANDOM


A String is a structure for storing text. A String is stored as a sequence of characters and is recalled as the same sequence of characters. They are mostly used for displaying text to the screen with Disp, Output( and Text(.

When hard coding Strings, the value of the string would be surrounded by Quotation Marks. For this reason, Quotation Marks cannot be a part of the string. In TI-84-BASIC, the character cannot be in a string either because the TI-84 has a lenient syntax and does not require terminating quotation marks, so the calculator assumes a string is terminated when it encounters a →.

Location of VariablesEdit

TI-84

  • VARS
  • 7: String...
  • Str[0-9]

TI-89

  • Any variable may be used

ExampleEdit

:PROGRAM:STRTEST
:ClrHome
:"A "→Str1
:"STRING"→Str2
:Str1+Str2→Str3
:Disp Str3
:Output(3,3,Str3)

This causes A STRING to appear on the screen two times.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.