beautypg.com

Else, Eq>st, Equal – Texas Instruments TI-86 User Manual

Page 302

background image

290

Chapter 20: A to Z Function and Instruction Reference

20ATOZ.DOC TI-86, Chap 20, US English Bob Fedorisko Revised: 02/13/01 2:42 PM Printed: 02/13/01 3:05 PM Page 290 of 118

Else

‡ program editor

CTL menu

Refer to syntax information for

If

, beginning on page 305. See

the

If:Then:Else:End

syntax.

End

‡ program editor

CTL menu

End

Identifies the end of a

While

,

For

,

Repeat

, or

If-Then-

Else

loop.

Eng

† mode screen

Eng

Sets engineering notation mode, in which the power-of-
10 exponent is a multiple of 3.

In

Eng

notation mode:

123456789 b

123.456789

E

6

In

Normal

notation mode:

123456789 b

123456789

Eq

4

St(

STRNG menu

Eq

4

St(

equationVariable

,

stringVariable

)

Converts the contents of equationVariable to a string
and stores it to stringVariable. Be sure to specify an
equation variable, not an equation.

To create an equation variable, use an equal sign (=) to
define the variable. For example, enter

A=B

¹

C

, not

B

¹

C

A

.

A=B¹C b

Done

5¶B b

5

2¶C b

2

A b

10

Eq

4St(A,STR) b

Done

STR b

B¹C

Equal:

=

1

г

=

д

Refer to syntax information for

Assignment

on page 270.

If you use

=

in an expression in which the first argument

is not a variable name at the beginning of a line, the

=

is

treated as

N(.

Example of = treated as

N(, where 4=6+1 is

evaluated as 4

N(6+1):

4=6+1 b

L

3

For true/false comparison, use == instead:

4==6+1 b

0