IF... THEN...
ELSE... END
CASE...END
IFERR...
THEN...
END...
Executes the
IF
THEN
Example
1&A : IF A==1
THEN MSGBOX A " EQUALS 1" :
ELSE MSGBOX A " IS NOT EQUAL TO 1" : END
Executes a series of
CASE
IF
IF
.
.
.
IF
END
When CASE is executed,
Execution with the CASE structure continues until a true- clause is executed (or until all the
Many conditions are automatically recognized by the HP 39G/40G as error conditions and are automatically treated as errors in programs.
IFERR...THEN...END allows a program to intercept error conditions that otherwise would cause the program to abort. Its syntax is:
IFERR
THEN
Programming |