DRAWLINE xStart as Integer, yStart as Integer, xEnd as Integer, yEnd as Integer[, penType]
Description
To draw a line on the graphics window between the starting and ending coordinates. PenType is optional—if specified, it must be nsbNormal, nsbInverted, or nsbGray.
Example
DrawLine 10,10, 20,40
DrawLine 20, 40, 20, 60, nsbGray