EasyManuals Logo

HP 39gs Master Guide

HP 39gs
366 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #287 background imageLoading...
Page #287 background image
T
T
h
h
e
e
B
B
r
r
a
a
n
n
c
c
h
h
c
c
o
o
m
m
m
m
a
a
n
n
d
d
s
s
IF <test> THEN <true clause> [ELSE <false clause>] END
Note the need for a double
= sign when comparing equalities. Any
number of statements can be placed in the true and false sections.
Enclosing brackets are not required, as they are in some other
languages.
CASE <if clauses> …END:
This command removes the need for nested
IF commands but is only
worth it if you have more than two or three nested
IFs. Note that colons
are not required for the
ENDs which terminate the internal IF clauses.
IFFERR <statements> THEN <statements> [ELSE <statements>] END
This can be used to error trap programs where there is a possibility of
something going wrong which would normally crash the program, such
as evaluating a function at a point for which it is undefined. By trapping
the suspect code you can supply an alternative which will perform some
other action. This will tend to make your programs more user friendly
and is a very good idea!
287

Table of Contents

Other manuals for HP 39gs

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 39gs and is the answer not in the manual?

HP 39gs Specifications

General IconGeneral
TypeScientific
Form factorPocket
Product colorGray
Internal memory0.256 MB
Weight and Dimensions IconWeight and Dimensions
Weight249 g
Dimensions (WxDxH)187 x 94 x 31 mm

Related product manuals