* The [[STEP]] keyword make ''column'' and ''row'' coordinates relative to the previously coordinates set by any graphic statement.
* The optional parameters (''column1'', ''row1'') set the line's starting point.
* The dash and second coordinate parameters (''column2'', ''row2'') must be designated to complete the line or box.
* The [[INTEGER]] ''color'' attribute or [[LONG]] [[_RGB32]] 32 bit color value sets the drawing color. If omitted, the current [[_DEST|destination]] page's [[_DEFAULTCOLOR]] is used.
* Optional '''B''' keyword creates a rectangle ('''b'''ox) using the start and end coordinates as diagonal corners. '''BF''' creates a '''b'''ox '''f'''illed.
* The ''style%'' signed [[INTEGER]] value sets a dotted pattern to draw the line or rectangle outline.
{{PageDescription}}
* Creates a colored line between the given coordinates. Can be drawn partially off screen.
* '''B''' creates a box outline with each side parallel to the program screen sides. '''BF''' creates a filled box.
* {{Parameter|style%}} can be used to create a dotted pattern to draw the line.
** '''B''' can be used with a ''style%'' to draw the rectangle outline using the desired pattern.
** '''BF''' ignores the {{Parameter|style%}} parameter. See examples 2, 3 and 4 below.
* The graphic cursor is set to the center of the program window on program start. Using the [[STEP]] keyword makes the coordinates relative to the current graphic cursor.
* [[LINE]] '''can be used in any graphic screen mode, but cannot be used in the default screen mode 0 as it is text only.'''
{{PageExamples}}
''Example 1:'' Following one line with another by omitting the second line's first coordinate parameter bracket entirely:
{{CodeStart}}{{Cl|SCREEN}} 12
{{Cl|LINE}} (100, 100)-(200, 200), 10 'creates a line
{{Cl|LINE}} -(400, 200), 12 'creates a second line from end of first
{{Cl|END}}
{{CodeEnd}}
:''Explanation:'' The full equivalent LINE statement would be: '''{{text|LINE(200, 200)-(400, 200), 12|green}}'''
''Example 2:'' Creating styled lines and boxes with the LINE statement. Different style values create different dashed line spacing.
{{CodeStart}}{{Cl|SCREEN}} 12
{{Cl|LINE}} (100, 100)-(300, 300), 10, , 63 'creates a styled line