
The program below also uses the RECT_P command. In this case, the pair of arguments 320 and 240
correspond to x2 and y2. The program produces are rectangle with a black edge and a red ll.
EXPORT BOX()
BEGIN
RECT();
RECT_P(40,90,32 0,240,#000000,# FF0000);
WAIT;
END;
SUBGROB_P, SUBGROB
Syntax: SUBGROB(srcGRB [ ,x1, y1, x2, y2], trgtGRB)
Syntax: SUBGROB_P(srcGRB [ ,x1, y1, x2, y2], trgtGRB)
Sets trgtGRB to be a copy of the area of srcGRB between points x1,y1 and x2,y2.
srcGRB can be any of the graphics variables and is optional. The default is G0.
trgtGRB can be any of the graphics variables except G0.
598 Chapter 28 Programming in HP PPL
Comentários a estes Manuais