
After the program terminates, you can resume any other activity with the HP Prime.
If a program has arguments, when you press a screen appears prompting you to enter the program
parameters.
Multi-function programs
▲
To create an entry that has multiple subentries in the User submenu of the Toolbox menu, enter multiple
EXPORT commands in a single program.
NOTE: Typically, you must delete the automatic EXPORT, BEGIN, and END commands that are created
with a program.
The following example program is named MYFOLDER. It contains two user-dened functions as follows:
●
FUNCTION1(X) returns X+1
●
FUNCTION2(X) returns X−1
Program MYFOLDER
EXPORT FUNCTION1(X)
BEGIN
RETURN X+1;
END;
EXPORT FUNCTION2(X)
BEGIN
RETURN X−1;
END;
Now, when you press and then tap , an option named MYFOLDER appears. Tap MYFOLDER
to see the subentries FUNCTION1 and FUNCTION2.
You can use this procedure to create custom folders that contain the functions you need and are organized
optimally for your use.
562 Chapter 28 Programming in HP PPL
Comentários a estes Manuais