The InputStr Command

We're glad you came by, but you might find what you're looking for elsewhere.

TI-Basic Developer is not the site it once was. While its information on commands and other calculator features remains almost second-to-none, its forum, archives, and even hosting service, Wikidot, have been decaying for years. The calculator community would love to see what you're working on, or help you in your next coding adventure, but TI-Basic Developer is no longer the place to do it.

Instead, you should head over to Cemetech (primarily American) or TI-Planet (primarily international). Both are active, well-established forums with their own archives, chatrooms, reference material, and abundant coding tools and resources. We'll see you there, we hope.

InputStr68K.gif

Command Summary

Stores a string to a variable

Command Syntax

InputStr variable

Menu Location

In the program editor, press [F3][4]

Calculator Compatibility

TI 89(T)/92

Token Size

1 byte or 2 bytes

The InputStr command allows you to input a string to a variable. Since Input doesn't support the storing of strings into variables, you have to use this command to do that. Keep in mind that the inputted variable cannot be the name of a preexisting variable or flash application that is locked, protected, or archived. For example, if you had a program named "a" or "hello", the command wouldn't work because it is already in use.

InputStr A
//Here, you would a string to be stored to the variable A

InputStr hello
//This would store the string into the variable "hello".

Related Commands

Error Conditions

980 - Variable is locked, protected, or archived happens when the user attempted to redefine/modify an already defined variable.

Also See

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Noncommercial 2.5 License.