This escape draws a line using the current pen from the current position to the position specified.
Parameter |
Value or Description |
Lead-In |
<ESC>l |
Sequence |
x,y where "x" is the end X-axis point for the line, and "y" is the end Y-axis point for the line |
Termination |
null |
Example
Draws a line across the top of the page
PRINT CHR$(27);"z"; | ! ask for paper size |
INPUT "";PX,PY
PRINT CHR$(27);"="; | ! position at 0,0 |
PRINT "0,0";CHR$(0);
PRINT CHR$(27);"l"; | ! draw the line |
PRINT STR(PX);",0";CHR$(0);