This function draws a "point," a line, or a series of connected lines, in the current output window, using the current pen size, pen mode, pen pattern and foreground color.
If you use the first syntax, a single "point" is drawn. This will actually be a little rectangular block whose dimensions are the same as the pen's width and height, with its upper-left corner at point
If you use the second syntax, a line is drawn, having one endpoint at
(h,v). The line's other endpoint will be one of the following:
- The last point specified in the most recent
PLOTstatement (in any window);
- The (
h,v) coordinates of the most recent
BOXstatement (in any window) that actually specified the
(0,0), if no
PLOTstatement has yet been executed, and no prior
BOXstatement that specified
vhas yet been executed.
If you use the third syntax, a line or a series of connected lines is drawn, with endpoints at the specified points.
FB Lite behavior:
When you use the "FB Lite" runtime,
PLOT switches to the Graphics Window before executing. You can't use
PLOT to draw a line in the Text Window, or on the printer; use the Toolbox procedures
LINETO instead. Alternatively, you can activate the graphics window and select Print from the File menu.
PEN; BOX; COORDINATE WINDOW; COLOR; LONG COLOR