HP Prime Graphing Wireless Calculator Manual de usuario Pagina 636

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 701
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 635
EXPORT GETSIDES()
BEGIN
REPEAT
INPUT(SIDES,"Die Sides","N = ","Enter num sides",2);
UNTIL SIDES>0;
END;
BREAK
Syntax: BREAK(n)
Exits from loops by breaking out of n loop levels. Execution picks up with the rst statement after the loop.
With no argument, exits from a single loop.
CONTINUE
Syntax: CONTINUE
Transfers execution to the start of the next iteration of a loop
Variable
These commands enable you to control the visibility of a user-dened variable.
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];
– or –
EXPORT var1:=val1, [var2:=val2, … varn:=valn];
Exports the variables var1, var2, etc. so they are globally available and appear on the User menu when you
press
and select .
Example:
EXPORT ratio:=0.15;
Function
These commands enable you to control the visibility of a user-dened function.
EXPORT
Syntax: EXPORT FunctionName(Parameters)
– or –
EXPORT FunctionName(Parameters)
588 Chapter 28 Programming in HP PPL
Vista de pagina 635
1 2 ... 631 632 633 634 635 636 637 638 639 640 641 ... 700 701

Comentarios a estos manuales

Sin comentarios