HP Prime Graphing Wireless Calculator Manual de usuario Pagina 634

  • 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 633
EXPORT
DRAWPATTERN()
BEGIN
LOCAL
xincr,yincr,color;
STARTAPP("Function");
RECT();
xincr := (Xmax - Xmin)/318;
yincr := (Ymax - Ymin)/218;
FOR X FROM Xmin TO Xmax STEP xincr DO
FOR Y FROM Ymin TO Ymax STEP yincr DO
color := RGB(X^3 MOD 255,Y^3 MOD 255, TAN(0.1*(X^3+Y^3)) MOD 255);
PIXON(X,Y,color);
END;
END;
WAIT;
END;
FOR DOWN
Syntax: FOR var FROM start DOWNTO nish DO commands END;
Sets variable var to start, and for as long as this variable is more than or equal to nish, executes the
sequence of commands, and then subtracts 1 (decrement) from var.
FOR STEP DOWN
Syntax: FOR var FROM start DOWNTO nish [STEP increment] DO commands END;
586 Chapter 28 Programming in HP PPL
Vista de pagina 633
1 2 ... 629 630 631 632 633 634 635 636 637 638 639 ... 700 701

Comentarios a estos manuales

Sin comentarios