Owner manual
CASE-END Executes a series of test-ciause commands that execute the
appropriate tme-clause sequence of commands. Its syntax is;
CASE
IF test-clause^ THEN true-clause^END
IF test-clause^ THEN true-clause^ END
IF test-clause^ THEN true-clause^ END
END
When CASE is executed, tesUlause^ is evaluated. If the test is true,
tme-clause^ is executed, and execution skips to END. If tesKlause,
if false, execution proceeds to test-clause^. Execution with the
CASE structure continues until a true-clause is executed (or until
all the test-clauses evaluate to false).
IFERR-
THEN...
EL5E...
Many conditions are automatically recognized by the HP 38G as
error conditions—and they’re automatically treated as errors in
programs.
IFERR...THEN...ELSE allows a program to intercept error
conditions that otherwise would cause the program to abort. Its
syntax is:
IFERR trap-clause
THEN error-clause ELSE normal-clause END
RUN
Runs the named program. If your program name contains
special characters, such as a space, and then you must enclose
the file name in double quotes (“ ")■
RUN "program name" or RUN programname
STOP
Stops the current program.
STOP
8-12 Programming