Hp Prime Graphing Wireless Calculator Manuel d'utilisateur Page 277

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 334
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 276
Programming in HP PPL 273
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(Parameters) or
Export Var{:=Val) or Export Var1[:=Val1],
Var2[:=Val2], ...)
In a program, declares the functions or variables to export
globally. The exported functions appear in the Toolbox
User menu and the exported variables appear in the Vars
CAS, App, and User menus.
For an exported function, there are two uses of EXPORT.
Forward function declaration:
EXPORT function(params);
Normal function declaration:
EXPORT function[(params)]
BEGIN
//Function definition goes here
END;
Examples:
EXPORT X2M1(X);
EXPORT ratio:=0.15;
Vue de la page 276
1 2 ... 272 273 274 275 276 277 278 279 280 281 282 ... 333 334

Commentaires sur ces manuels

Pas de commentaire