PRESCRIBE Command Reference
72
DAP — Draw to Absolute Position
Format
DAP x-coordinate, y-coordinate;
Parameters
x-coordinate:
distance from the left margin
y-coordinate:
distance from the top margin
Function
The DAP command draws a line from the current cursor position to a position specified
relative to the top and left margins. The thickness of the line is designated by the SPD
(set pen diameter) command. The coordinates and line thickness are measured in the
units designated by the UNIT command.
The coordinates may be positive or negative. Negative coordinates cause the line to
extend outside the margin.
The DAP command is ignored in the path mode graphics.
File
!R! RES;
UNIT C;
CMNT Tree Diagram;
STM 8; SLM 8;
MAP 0, 0; DAP 2, 0.5;
MAP 0, 1; DAP 2, 0.5;
MAP 0, 1; DAP 2, 1.5;
MAP 0, 2; DAP 2, 1.5;
MAP 0, 2; DAP 2, 2.5;
MAP 0, 3; DAP 2, 2.5;
MAP 2, 0.5; DAP 4, 1;
MAP 2, 1.5; DAP 4, 1;
MAP 2, 1.5; DAP 4, 2;
MAP 2, 2.5; DAP 4, 2;
MAP 4, 1; DAP 6, 1.5;
MAP 4, 2; DAP 6, 1.5;
PAGE; EXIT;