HP Prime Graphing Wireless Calculator Manual do Utilizador Página 634

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 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 página 633
1 2 ... 629 630 631 632 633 634 635 636 637 638 639 ... 700 701

Comentários a estes Manuais

Sem comentários