631
'PM' Mnemonic
Portrait Mode
Description
Use 'PM' to switch to portrait mode when printing to *WINPRT*, p.756. This is the
'POLYGON' Mnemonic
Define/Draw a Polygon
Format
'POLYGON'(x,y,x,y,x,y,x,y ...)
Where:
x,y
Set of point/position coordinates in graphical units. Numeric expression.
Description
Use 'POLYGON' to draw (print) a polygon (e.g., triangle, hexagon ...). ProvideX joins
the various x,y points to form the polygon. Use graphical units or @X(col) and
@Y(line) functions for the coordinates.
Example
The example below creates an irregular four-sided figure by setting the coordinates
for the four corners:
0030 PRINT 'PEN'(1,3,8),'FILL'(2,6)
0040 PRINT 'POLYGON'(224,450,100,100,400,200,390,390)
'POP' or 'WR' Mnemonic
Restore Previous Window
Format
Long or short form: 'POP' or 'WR'
Description
Use either 'POP' or 'WR' to remove the current window from the top of the stack and
restore the previous window.