HP Prime Graphing NW280AAABA manual Variable, Function, Export Syntax Export var1, var2, …, varn

Models: Prime Graphing NW280AAABA

1 616
Download 616 pages 24.49 Kb
Page 539
Image 539

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

aand 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. See “The User Keyboard: Customizing key presses” on page 516.

Programming in HP PPL

533

Page 539
Image 539
HP Prime Graphing NW280AAABA manual Variable, Export Syntax Export var1, var2, …, varn, Syntax Export FunctionName