Variable, Function – HP Prime Graphing Calculator User Manual
Page 539

Programming in HP PPL
533
Variable
These commands enable you to control the visibility of a
user-defined variable.
LOCAL
Local.
Syntax: LOCAL var1,var2,…varn;
Makes the variables var1, var2, etc. local to the program
in which they are found.
EXPORT
Syntax: EXPORT var1, var2, …, varn;
Exports the variables var1, var2, etc. so they are globally
available and appear on the User menu when you press
a
and select
.
Function
These commands enable you to control the visibility of a
user-defined function.
EXPORT
Export.
Syntax: EXPORT FunctionName()
Exports the function FunctionName so that it is globally
available and appears on the User menu (
D
).
VIEW
Syntax: VIEW “text”, functionname();
Replaces the View menu of the current app and adds an
entry with “text”. If “text” is selected and the user
presses
or
E
, then functionname() is
called.
KEY
A prefix to a key name when creating a user keyboard.