beautypg.com

Prgm ctl (control) instructions, Prgm ctl menu – Texas Instruments TI-84 User Manual

Page 438

background image

Chapter 16: Programming

435

PRGM CTL (Control) Instructions

PRGM CTL (Control) Instructions

PRGM CTL (Control) Instructions

PRGM CTL (Control) Instructions

PRGM CTL Menu

PRGM CTL Menu

PRGM CTL Menu

PRGM CTL Menu

To display the

PRGM CTL

(program control) menu, press

 from the program editor

only.

CTL

I/O EXEC

1:

If

Creates a conditional test.

2:

Then

Executes commands when If is true.

3:

Else

Executes commands when If is false.

4:

For(

Creates an incrementing loop.

5:

While

Creates a conditional loop.

6:

Repeat

Creates a conditional loop.

7:

End

Signifies the end of a block.

8:

Pause

Pauses program execution.

9:

Lbl

Defines a label.

0:

Goto

Goes to a label.

A:

IS>(

Increments and skips if greater than.

B:

DS<(

Decrements and skips if less than.

C:

Menu(

Defines menu items and branches.