Drawing a Polygon

Normally, each point is written on a separate line. But in order to draw a line in a more compact way, use the command DRAWLINE. DRAWLINE is followed by a couple of X/Y number pairs. The X/Y pairs must be separated by a space, and there must be a comma sign between the X and Y values. DRAWLINE makes a move operation to the first pair of X/Y coordinates, and then draws a line among all pairs up to the last one. All pairs must fit on one line of 80 characters, but there can be several consequent DRAWLINE commands.

Example 2 – Draw Polygons and Symbols