Branch Commands - HP 39G User Manual

Graphing calculator
Hide thumbs Also See for 39G:
Table of Contents

Advertisement

UNCHECK

Branch commands

IF...THEN...END
Programming
View numbers
The views are numbered as follows:
0
HOME
1
Plot
2
Symbolic
3
Numeric
4
Plot-Setup
5
Symbolic-Setup
6
Numeric-Setup
7
Views
8
Note
9
Sketch view
10
Aplet Catalog
Unchecks (unselects) the corresponding function in the
current aplet. For example, Uncheck 3 would uncheck F3 if
the current aplet is Function.
UNCHECK n
Branch commands let a program make a decision based on the
result of one or more tests. Unlike the other programming
commands, the branch commands work in logical groups.
Therefore, the commands are described together rather than
each independently.
Executes a sequence of commands in the true–clause only if
the test–clause evaluates to true. Its syntax is:
IF test–clause
THEN true–clause END
Example
1 A :
IF A==1
THEN MSGBOX A " EQUALS 1" :
END
11
List Catalog
12
Matrix Catalog
13
Notepad Catalog
14
Programs Catalog
15
Plot-Detail
16
Plot-Table
17
Overlay Plot
18
Auto scale
19
Decimal
20
Integer
21
Trig
15-17

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

40g

Table of Contents