Skip to main content
  1. Blogs/

TI-89 Multiple Variables on One Line

·109 words·1 min·
tips

I have an old TI-89 calculator and it has the ability to use a variable in a formula and then assign it at the end in one line:

x+12|x=5                        17

But I never could quite figure out how to use multiple variables at once without storing them ahead of time:

5->x
12->y
x+y                             17

But I want to do this on one line without having to save the variables. The solution is to use the “and” keyword.

x+y|x=5 and y=12              17

The most annoying thing about this though is the only way I know of to add the “and” keyword is to look it up in the Catalog menu.

Related

Clever preprocessor macro in HLSL
·457 words·3 mins
hlsl code tips gpu
Steam VR Workshop Content Update Loop
·516 words·3 mins
tips
A single method that can work with either a List or an Array (IEnumerable and ICollection)
·296 words·2 mins
unity code tips c#
Round a number to some multiple of another number
·201 words·1 min
code tips
Testing C# code in the browser
·42 words·1 min
code tips c#
Element-wise Vector Multiplication in Unity (Vector3.Scale)
·79 words·1 min
unity code tips