HP Prime Graphing Wireless Calculator Manual de usuario Pagina 658

  • 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 657
PRINT
Syntax: PRINT(expression or string);
Prints the result of expression or string to the terminal.
The terminal is a program text output viewing mechanism which is displayed only when PRINT commands
are executed. When visible, you can press or to view the text, to erase the text and any
other key to hide the terminal. Pressing stops the interaction with the terminal. PRINT with no
argument clears the terminal.
There are also commands for outputting data in the Graphics section. In particular, the commands TEXTOUT
and TEXTOUT_P can be used for text output.
This example prompts the user to enter a value for the radius of a circle, and prints the area of the circle on
the terminal.
EXPORT AREACALC()
BEGIN
LOCAL radius;
INPUT(radius, "Radius of Circle","r = ","Enter radius",1);
PRINT("The area is " +π*radius^2);
END;
610 Chapter 28 Programming in HP PPL
Vista de pagina 657
1 2 ... 653 654 655 656 657 658 659 660 661 662 663 ... 700 701

Comentarios a estos manuales

Sin comentarios