Programming 15-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/40G 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_measurment;
end_angle_measurment:
Example
ARC0;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 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)
ERASE Clears the display
ERASE: