The String►Equ( Command
STRINGEQU.GIF

Command Summary

Stores the contents of a string to an equation variable.

Command Syntax

String►Equ(string, equation

Menu Location

This command is found only in the catalog. Press:

  1. 2nd CATALOG to access the catalog
  2. T to skip to commands starting with T
  3. Scroll up to String►Equ( and select it.

Calculator Compatibility

TI-83/84/+/SE

Token Size

2 bytes

This command stores the contents of a string to an equation variable (such as Y1 or X1T). This command can, in theory, be used whenever you need to set any equation variable.

In practice, however, this command is useless. This is because the (store) operation can be used for the same purpose:

:String►Equ(Str1,Y1
can be
:Str1→Y1

This replacement is universal, takes the same time to run (because it actually uses the same routines), is more convenient to type since you don't have to go through the command catalog, and is two bytes smaller.

Advanced

Unlike any normal use of the → (store) operation, this situation is different because it doesn't modify Ans. For example:

:125
:"sin(X→Y1
:Disp Ans

Because this use of → does not modify Ans, '125' will be displayed rather than 'sin(X'. However, if we were to replace Y1 with Str1, then the → operation would work normally, and 'sin(X' would be displayed.

It's also important to realize the difference between the String►Equ( command and the related Equ►String(. I mean, aside from the fact that the latter actually is useful. The main difference is that while Equ►String('s arguments both have to be variables, String►Equ('s first argument can either be a variable (Str0 through Str9), a constant string (e.g., "sin(X)"), or an expression that returns a string (e.g., sub(Str1,1,5)). This applies to the → operation as well.

Related Commands

.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License