HP (Hewlett-Packard) 39g+ Calculator User Manual


 
Programming 16-19
RUN Runs the named program. If your program name contains
special characters, such as a space, then you must
enclose the file name in double quotes (" ").
RUN "program name": or RUN programname:
STOP Stops the current program.
STOP:
Drawing commands
The drawing commands act on the display. The scale of
the display depends on the current aplet's Xmin, Xmax,
Ymin, and Ymax values. The following examples assume
the hp 39g+ default settings with the Function aplet as the
current aplet.
ARC Draws a circular arc, of given radians, whose centre is at
(x,y) The arc is drawn from start_angle_measurement,
and end_angle_measurement.
ARC x;y;radius;start_angle_measurement ;
end_angle_measurement:
Example
ARC 0;0;2;0;360:
FREEZE:
Draws a circle centered
at (0,0) of radius 2. The
FREEZE command
causes the circle to
remain displayed on the screen until you press a key.
BOX Draws a box with diagonally opposite corners (x1,y1) and
(x2,y2).
BOX x1;y1;x2;y2:
Example
BOX -1;-1;1;1:
FREEZE:
Draws a box, lower
corner at (–1,–1),
upper corner at (1,1)