Write the syntax of the command used to draw line on the screen.
Answer»
x1,Y1 and x2,y2 specify the end POINTS of a LINE. Resolution mode is determined by the SCREEN statement. ATTRIBUTE specifies color or INTENSITY of the displayed pixel (see the COLOR and PALETTE statements). B (box) draws a box with the points (x1,y1) and (x2,y2) at opposite corners